Carbon Emissions Data from the US Energy Information Administration

The US Energy Information Administration (EIA) has lots of data and information on carbon emissions. Load the R packages # install.packages('pacman') #uncomment if don't already have library(pacman) # package manager p_load(eia, hrbrthemes, tidyverse) key <- eia_get_key() eia package For background and examples using the eia package go here. Follow link on that page to get an API key. Put the API key in the variable my_eia_api_key in the .