cps_download_data {cpsvote}R Documentation

Download CPS microdata

Description

Download CPS microdata

Usage

cps_download_data(
  path = "cps_data",
  years = seq(1994, 2018, 2),
  overwrite = FALSE
)

Arguments

path

A file path (relative or absolute) where the downloads should go.

years

Which years of data to download. Defaults to all even-numbered years from 1994 to 2018.

overwrite

Logical, whether to write over existing files or not. Defaults to FALSE.

Details

Examples

## Not run: 
cps_download_data(path = "cps_docs", years = 2016, overwrite = TRUE)

## End(Not run)


[Package cpsvote version 0.1.0 Index]