lodown: locally download and prepare publicly-available microdata

View source: R/lodown.R

get_catalogR Documentation

locally download and prepare publicly-available microdata

Description

lodown actively downloads the extracts specified by the catalog. get_catalog retrieves a listing of all available extracts for a microdata set. skipping get_catalog will attempt to download all available extracts

Usage

get_catalog(data_name, output_dir = getwd(), ...)

lodown(data_name, catalog = NULL, ...)

Arguments

data_name

a character vector with a microdata abbreviation

output_dir

directory on your local computer to save the microdata

...

passed to get_catalog_* and lodown_*

catalog

data.frame detailing available microdata extracts and metadata

Value

catalog data.frame detailing available microdata extracts and metadata, along with local file paths and possibly additional metadata acquired during the download

See Also

http://www.asdfree.com for usage examples


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