ipumsr 0.8.0
Breaking changes + deprecations
-
Collection-specific definition functions for IPUMS microdata projects
have been deprecated in favor ofdefine_extract_micro(). This
streamlines syntax across all supported microdata collections. Use the
collectionargument to specify the collection for your
microdata extract.IPUMS NHGIS extracts are still created with
define_extract_nhgis(). -
Previously deprecated methods for retrieving extract history are now
defunct. Useget_extract_history()instead.
New features
-
Adds support for IPUMS API extract endpoints for IPUMS Time Use and
IPUMS Health Surveys projects! This includes:-
IPUMS Time Use
-
IPUMS ATUS (
"atus") -
IPUMS AHTUS (
"ahtus") -
IPUMS MTUS (
"mtus")
-
-
IPUMS Health Surveys
-
IPUMS NHIS (
"nhis") -
IPUMS MEPS (
"meps")
-
-
-
Adds support for new rectangularization options for certain
microdata collections. Use therectagular_onargument in your
extract definition to rectangularize on records other than person
("P") records. -
Time use variables can be included in IPUMS Time Use extracts. Use
thetu_var_spec()helper with thetime_use_variablesargument of
define_extract_micro()to create a time use variable
specification.This includes both IPUMS-defined and user-defined time use variables. Note
that user-defined time use variables cannot currently be created via API.
However, if you have defined a time use variable through the IPUMS web
interface, you can request it in an extract via API. -
Sample members can be specified in IPUMS ATUS extracts. Use the
sample_membersargument ofdefine_extract_micro()to do so. -
"household_only"is now a supported value fordata_structurein
IPUMS USA extracts.
Minor improvements and fixes
- Fixes bug in
add_to_extract.micro_extract()that caused an error if a user
attempted to update the value ofdata_quality_flagsin a detailed variable
specification.