Description Usage Arguments Value Note References Examples
Files are cached in download_dir
1 2 | read_lodes(state, type = c("origin", "residence", "workplace", "od", "rac",
"wac"), segment, job_type, year, download_dir = getwd())
|
state |
2-leter state code (auto-converted to lower case) |
type |
one of "origin", "residence" or "workplace" or their short equivalents "od", "rac", "wac" |
segment |
segment identifier |
job_type |
job identifier |
year |
year to retrieve |
download_dir |
location to cache the file (defaults to current directory) |
'tibble' of results if data file was found
the full path to the downloaded file is displayed in message
See the codebook for valid parameters.
1 2 3 | read_lodes("de", "od", "aux", "JT00", "2006")
read_lodes("ak", "residence", "S000", "JT00", "2002")
read_lodes("id", "workplace", "SE02", "JT03", "2013")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.