pdfetch_EIA {pdfetch} | R Documentation |
Fetch data from the US Energy Information Administration
Description
Fetch data from the US Energy Information Administration
Usage
pdfetch_EIA(identifiers, api_key)
Arguments
identifiers |
a vector of EIA series codes |
api_key |
EIA API key |
Value
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.
See Also
Examples
## Not run:
pdfetch_EIA(c("ELEC.GEN.ALL-AK-99.A","ELEC.GEN.ALL-AK-99.Q"), EIA_KEY)
## End(Not run)
[Package pdfetch version 0.2.9 Index]