Added the “Rmd for Reproducible Research” template, which sets up a workflow that leverages the IPUMS microdata extract API to facilitate sharing your analysis. For more details, see the blog post. Credit to @ehrlichd for the template and blog post!
Moved the raster package to Suggests so that it is no longer installed automatically when you install ipumsr. The raster package is only required if you need to read raster extracts from the IPUMS Terra collection, and IPUMS Terra is slated to be decommissioned shortly.
vignette("ipums-api", package = "ipumsr"). Special thanks to @robe2037, @renae-r, and @ehrlichd for their work on the API functions!
Fixed bug causing a read error for some labeled string variables (#61, thanks @chengchou).
ipumsr now always uses the
haven::labelled() function to create
labelled vectors, in order to maintain compatibility with developments in the haven and vctrs packages (thanks @gergness!).
ipumsr now requires R 3.5 or greater, in line with the new requirements of package dependency raster.
lbl_define()test to reflect changes to haven’s
lbl_define() function to enable the use of
lbl_relabel() syntax when
creating a new labelled vector from an unlabelled one (#51, thanks @chengchou).
Remove pillar printing from ipumsr, getting rid of pesky warning (#47).
Improved documentation for
lower_vars argument (#56, thanks @hrecht).
read_ipums_micro_list_yield() that read data in ‘yields’, a concept similar to ‘chunks’, but with a little more flexibility. See the big data vignette (
vignette("ipums-bigdata", package = "ipumsr")) for more details.
Fixed a bug when trying to set variable attributes but not value labels (#34).
Fixed a bug where implicit decimals would be double counted for csv files.
rectype_convert has been removed because it no longer did anything.
Fixed a typo in vignette “ipums-geography” (#37, @jacobkap).
Lots of improvements for users who wish to use “big data” sized IPUMS extracts. See the vignette using command
vignette("ipums-bigdata", package = "ipusmr") for the full details.
There are now chunked versions of the microdata reading functions which let you perform functions on subsets of the data as you read it in (
There is a new function
ipums_collect() which combined
set_ipums_attributes() to add value and variable labels to data collected from a database.
When reading gzipped files, ipumsr no longer has to store the full text in memory.
Added pillar printing for labelled classes in tibbles. This means that the label will print the labels alongside the values when printed in a tibble (in a subtle grey color when the terminal supports it). To turn this feature off, use command `options(“ipumsr.show_pillar_labels” = FALSE).
The approach to reading hierarchical data files is much faster.
read_ipums_sp() are now in the same order as
read_ipums_sp() gain 2 new arguments
vars which allows you to pick a subset of variables, and
add_layer_var which lets you add a variable indicating which layer it came from.
You can now use your inside voice for variable names with the new argument
read_ipums_micro() family of functions so that the variable names are lower case.
ipumsr is compatible with versions of haven newer than 2.0 (while maintaining compatibility with earlier versions). (#31)
IPUMS Terra is now officially supported! Read raster, area or microdata extracts using functions
Add support for keyvar in DDI, which will (eventually) help link data across record types in hierarchical extracts. To be effective, this requires more support on the ipums.org website, which is hopefully coming soon (#25 - thanks @mpadge!)
Improved main vignette instructions for Safari users (#27)
Fix for selecting columns from csv extracts (#26 - thanks forum user JCambon_OIS!)
Fixes for the
ipums_list_*() family of functions.