pdfetch_EIA | R Documentation |
Fetch data from the US Energy Information Administration
pdfetch_EIA(identifiers, api_key)
identifiers |
a vector of EIA series codes |
api_key |
EIA API key |
a xts object. Note that for hourly series the time zone will always be set to GMT, whereas the true time zone may be different. If you wish to use the correct time zone you must manually convert it.
## Not run:
pdfetch_EIA(c("ELEC.GEN.ALL-AK-99.A","ELEC.GEN.ALL-AK-99.Q"), EIA_KEY)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.