RamiKrispin / EIAapi

Supporting tools for the Applied Time Series Analysis and Forecasting book
https://ramikrispin.github.io/EIAapi/
Other
8 stars 1 forks source link

Pulling metadata without specify api path #11

Open RamiKrispin opened 6 months ago

RamiKrispin commented 6 months ago

Set a default value for the path:

meta <- EIAapi::eia_metadata(api_key = api_key)
Error in EIAapi::eia_metadata(api_key = api_key) : 
  The api_path argument is missing... ❌
Please check the API Dashboard for the API URL:
https://www.eia.gov/opendata/browser/