acs.tables.install: Downloads and stores XML tables used to lookup variable...

Description Usage Value Author(s) References See Also

View source: R/acs.R

Description

To obtain variable codes and other metadata needed to access the Census API, both acs.fetch and acs.lookup must consult various XML lookup files, which are provided by the Census with each data release. To keep the acs package-size small, as of version 2.0 these files are accessed online at run-time for each query. As an alternative, users may use acs.tables.install to download and archive all current tables (approximately 10MB, as of version 2.0 release).

Use of this function is completely optional and the package should work fine without it (assuming the computer is online and is able to access the lookup tables), but running it once may result in faster searches and quicker downloads for all subsequent sessions. (The results are saved and archived, so once a user has run the function, it is unnecessary to run again, unless the acs package is re-installed or updated.)

Usage

1

Value

Downloads the files and saves them to the package's "extdata" directory; return an error if no files found.

Author(s)

Ezra Haber Glenn [email protected]

References

http://www.census.gov/data/developers/data-sets.html

See Also

acs.fetch acs.lookup


nealrichardson/acs documentation built on May 23, 2017, 11:37 a.m.