Description Usage Arguments Value Examples
Download BEA metadata into library/data folder if needed
1 | beaUpdateMetadata(datasetList, beaKey)
|
datasetList |
list of BEA datasets to update local metadata file for (e.g., list('NIPA', 'FixedAssets')) |
beaKey |
Your API key |
Nothing. This updates local .RData files to be used in beaSearch.
1 | beaUpdateMetadata(list('RegionalData', 'NIPA'), beaKey = 'yourAPIkey')
|
Loading required package: data.table
Creating a generic function for 'toJSON' from package 'jsonlite' in package 'googleVis'
Note: As of February 2018, beaGet() requires 'TableName' for NIPA and NIUnderlyingDetail data instead of 'TableID.' See https://github.us-bea/bea.R for details.
[1] "API metadata not returned. Verify that you are using a valid API key, represented as a character string."
Warning messages:
1: In bea.R::beaGet(beaMetaSpecs, asList = FALSE, asTable = FALSE, :
Invalid API key: yourAPIkey
2: In beaUpdateMetadata(list("RegionalData", "NIPA"), beaKey = "yourAPIkey") :
API metadata not returned. Verify that you are using a valid API key, represented as a character string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.