Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Request, download, and read IPUMS data in R

License

NotificationsYou must be signed in to change notification settings

ipums/ipumsr

Project Status:ActiveCRAN_Status_BadgeR build statusCodecov test coverage

ipumsr provides an R interface for handlingIPUMS data, allowing users to:

  • Easily read files downloaded from the IPUMS extract system

  • Request data, download files, and get metadata from certain IPUMScollections

  • Interpret and process data using the contextual information that isincluded with many IPUMS files

Installation

To install the package from CRAN, use

install.packages("ipumsr")

To install the development version of the package, use

remotes::install_github("ipums/ipumsr")

What is IPUMS?

IPUMS is the world’s largest publicly availablepopulation database, providing census and survey data from around theworld integrated across time and space. IPUMS integration anddocumentation make it easy to study change, conduct comparativeresearch, merge information across data types, and analyze individualswithin family and community context. Data and services are availablefree of charge.

IPUMS consists of multiple projects, orcollections, that providedifferent data products.

  • Microdata projects distribute data for individual survey units,like people or households.
  • Aggregate data projects distribute summary tables of aggregatestatistics for particular geographic units along with correspondingGIS mapping files.

ipumsr supports different levels of functionality for each IPUMSproject, as summarized in the table below.

Data TypeDescriptionRead Data ExtractsRequest & Download DataBrowse Metadata
IPUMS USA logoIPUMS USAMicrodataU.S. Census and American Community Survey microdata (1850-present)Check markCheck mark
IPUMS CPS logoIPUMS CPSMicrodataCurrent Population Survey microdata including basic monthly surveys andsupplements (1962-present)Check markCheck mark
IPUMS International logoIPUMSInternationalMicrodataCensus microdata covering over 100 countries, contemporary andhistoricalCheck markCheck mark
IPUMS NHGIS logoIPUMS NHGISAggregate DataTabular U.S. Census data and GIS mapping files (1790-present)Check markCheck markCheck mark
IPUMS IHGIS logoIPUMS IHGISAggregate DataTabular and GIS data from population, housing, and agricultural censusesaround the worldCheck markCheck markCheck mark
IPUMS Time Use logoIPUMS Time UseMicrodataTime use microdata from the U.S. (1930-present) and thirteen othercountries (1965-present)Check markCheck mark
IPUMS Health Surveys logoIPUMS Health SurveysMicrodataMicrodata from the U.S.NationalHealth Interview Survey (NHIS) (1963-present) andMedical Expenditure Panel Survey(MEPS) (1996-present)Check markCheck mark
IPUMS Global Health logoIPUMS Global HealthMicrodataHealth survey microdata for low- and middle-income countries, includingharmonized data collections forDemographic and Health Surveys(DHS) andPerformance Monitoringfor Action (PMA) surveysCheck mark
IPUMS Higher Ed logoIPUMS Higher EdMicrodataSurvey microdata on the science and engineering workforce in the U.S.from 1993 to 2013Check mark

ipumsr uses theIPUMS API to submit datarequests, download data extracts, and get metadata, so the scope offunctionality generally corresponds to thatavailable via theAPI. As the IPUMSteam extends the API to support more functionality for more projects, weaim to extend ipumsr capabilities accordingly.

Getting started

If you’re new to IPUMS data, learn more about what’s available throughtheIPUMS Projects Overview. Then, seevignette("ipums") for an overview of how to obtain IPUMS data.

The package vignettes are the best place to explore what ipumsr has tooffer:

  • To read IPUMS data extracts into R, seevignette("ipums-read").

  • To interact with the IPUMS extract and metadata system via the IPUMSAPI, seevignette("ipums-api").

  • For additional details about microdata and aggregate data extractrequests, seevignette("ipums-api-micro") andvignette("ipums-api-agg").

  • To work with labelled values in IPUMS data, seevignette("value-labels").

  • For techniques for working with large data extracts, seevignette("ipums-bigdata").

TheIPUMS support website also housesmany project-specific R-basedtrainingexercises. However, note thatsome of these exercises may not be be up to date with ipumsr’s currentfunctionality.

Related work

  • Thesurvey andsrvyr packages can help youincorporate IPUMS survey weights into your analysis for various surveydesigns.

  • Seehaven for moreinformation about value labels and labelled vectors

  • hipread underlies the hierarchicalfile reading functions in ipumsr

Getting help + contributing

We greatly appreciate feedback and development contributions. Pleasesubmit any bug reports, pull requests, or other suggestions onGitHub. Before contributing,please be sure to read theContributingGuidelines and theCode of Conduct.

If you have general questions or concerns about IPUMS data, check outouruser forum or send an email toipums@umn.edu.

About

Request, download, and read IPUMS data in R

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors11

Languages


[8]ページ先頭

©2009-2025 Movatter.jp