ropensci / nomisr

Access UK official statistics from the Nomis database through R.
https://docs.ropensci.org/nomisr
Other
44 stars 12 forks source link

Better error message when querying non-existent parameters #14

Closed evanodell closed 4 years ago

evanodell commented 5 years ago

If you include non-existent parameters in some calls to nomis_get_data you get this unclear error message:

Error in guess_header_(datasource, tokenizer, locale): Cannot read file /private/var/folders/l4/pyxq17vj7rzcrvzr2dv032hm0000gn/T/RtmpC1bNsN/file12f564805602: Invalid argument

Error: $ operator is invalid for atomic vectors

Need to refine this.

evanodell commented 4 years ago

closed by d2515bf8207e6a7d8a94d57d357d025fba7e7878