mnpopcenter / ipumsr

Read IPUMS data into R.
http://tech.popdata.org/ipumsr
Mozilla Public License 2.0
89 stars 8 forks source link

Lower vars #58

Closed dtburk closed 4 years ago

dtburk commented 4 years ago

Resolves #56, which highlighted the confusing behavior of the lower_vars argument to read_ipums_micro(). This PR addresses this issue by adding detail to the argument description, and by throwing a warning when the lower_vars argument will be ignored. The PR also adds lower_vars support to the chunked reading functions, and fixes a bug that caused an error when lower_vars was set to true and the user supplied a .csv(.gz) file, and (on a different topic) makes it more clear in the documentation for and error message coming from the _yield functions that these functions don't work with .csv(.gz) data files.