cps_download_docs {cpsvote} | R Documentation |
Download CPS technical documentation
Description
Download CPS technical documentation
Usage
cps_download_docs(
path = "cps_docs",
years = seq(1994, 2018, 2),
overwrite = FALSE
)
Arguments
path |
A file path (relative or absolute) where the downloads should go. |
years |
Which years of documentation 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
File names will be written in the style "cps_nov2018.pdf", with the appropriate years.
The Voting and Registration Supplement is only conducted in even-numbered years (since 1964), so any entry in
years
outside of this will be skipped.Currently the package only supports downloads from 1994 onwards, so any entry in
years
before 1994 will be skipped.
Examples
## Not run:
cps_download_docs(path = "cps_docs", years = 2016, overwrite = TRUE)
## End(Not run)
[Package cpsvote version 0.1.0 Index]