ipumsr
An R Interface for Downloading, Reading, and Handling IPUMS Data
ipumsr is collapsing a dozen collection-specific APIs into one extract vocabulary.
◆Recent moves
- 5mo ago
IPUMS DHS support; USA/CPS/IPUMSI definition functions now defunct
IPUMS DHS joins the API through the existing define_extract_micro() and submit_extract() workflow, which is exactly the payoff of the generic surface built in 0.8.0. The collection-specific USA, CPS and IPUMSI definition functions are now defunct, and the R floor moves to 4.1.0.
View source ↗ - 1y ago
IHGIS support; NHGIS readers generalized to aggregate collections
Applies the 0.8.0 generalization to the aggregate-data side: read_ipums_agg(), define_extract_agg() and get_metadata() replace their NHGIS-specific predecessors and IHGIS comes along as the second supported collection. The same pattern, extended to a second project family rather than a new direction.
View source ↗ - 1y ago
Supplemental data downloads; shape_join always returned a right join
Adds supplemental data downloads and codebook listing, makes the geographic_extents wildcard optional, and fixes a shape_join bug that returned a right join regardless of which join function was called. That join fix silently changed results for anyone combining spatial and tabular extracts.
View source ↗ - 2y ago
Vignette fix for R CMD check
A vignette fix for an R CMD check failure under --no-manual and --no-build-vignettes. Packaging only.
View source ↗ - 2y ago
define_extract_micro() replaces per-collection extract functions
⚡ SPARKThe origin of the pattern the package has followed ever since: one define_extract_micro() replaces every collection-specific microdata function, with the collection passed as an argument. Time Use and Health Surveys arrive under it immediately, and 0.9.0 and 0.10.0 are this same move repeated on other project families.
View source ↗ - 2y ago