mountainMath/cansim

Call fails for Table 36-10-0108 with factors=TRUE

mountainMath opened this issue · 2 comments

The following call fails:

get_cansim("36-10-0108")

It works when conversion to factors is turned off.

get_cansim("36-10-0108",factors=FALSE)

This should be fixed by

  1. fail gracefully if factor conversion fails and emit a warning message only
  2. fix this so that it works with factors for this table too.

Fixed in #97

Similar problem occurs with table "36-10-0580".