lodown_icpsr: locally download, import, prepare icpsr microdata

View source: R/icpsr.R

lodown_icpsrR Documentation

locally download, import, prepare icpsr microdata

Description

get_catalog_icpsr retrieves a listing of all available extracts for a microdata set

Usage

lodown_icpsr(data_name, catalog, ...)

get_catalog_icpsr(series_number = NULL, study_numbers = NULL,
  archive = "ICPSR", bundle_preference = c("rdata", "stata", "sas", "spss",
  "delimited", "ascsas", "ascstata", "ascspss", "ascii", "gis", "doc"))

Arguments

data_name

a character vector with a microdata abbreviation

catalog

data.frame detailing available microdata extracts

...

passed to get_catalog and lodown_

series_number

any data series number from http://www.icpsr.umich.edu/icpsrweb/ICPSR/series

study_numbers

one or more study numbers from http://www.icpsr.umich.edu/icpsrweb/ICPSR/studies?q=

archive

defaults to "ICPSR" but other archives include "HMCA" , "NACJD" , "NAHDAP" , "NADAC" , "civicleads" , "RCMD" , "ADDEP" , "childcare" , "NCAA" , "NACDA" , "DSDR" , "METLDB"

bundle_preference

when multiple filetypes are available, which should be given priority?


ajdamico/lodown documentation built on Feb. 1, 2024, 3:44 p.m.