The ipumsr package helps import IPUMS extracts from the IPUMS website into R. IPUMS provides census and survey data from around the world integrated across time and space. IPUMS integration and documentation makes it easy to study change, conduct comparative research, merge information across data types, and analyze individuals within family and community context. Data and services are available free of charge.
The ipumsr package can be installed by running the following command:
install.packages("ipumsr")
Or, you can install the development version using the following commands:
if (!require(devtools)) install.packages("devtools")
::install_github("ipums/ipumsr") devtools
The vignettes are a great place to learn more about ipumsr and IPUMS data:
For a more detailed look at some of the features, see these vignettes:
Or to see examples of how to work through data from particular projects, see these vignettes:
You can access them from R with the vignette()
command
(eg vignette("value-labels")
).
If you are installing from github and want the vignettes, you’ll need to run the following commands first:
::install_github("ipums/ipumsr/ipumsexamples")
devtools::install_github("ipums/ipumsr", build_vignettes = TRUE) devtools
We greatly appreciate bug reports, suggestions or pull requests. They can be submitted via github, on our user forum or by email to ipums@umn.edu
Before contributing, please be sure to read the Contributing Guidelines and the Code of Conduct.