The eiastats package provides structured access to all of the information available from the U.S. EIA API, including: access to all annual, quarterly, monthly and daily/weekly data, as well as access to the EIA Data Catalog API.
To learn more about the eiastats package, start with the vignettes:
browseVignettes(package = "eiastats")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.