A tibble of fuel mix for the countries or regions specified.
That is, the number of quads of each fuel and the
fraction of total primary energy coming from that fuel for each country
or region:
region
The name of the country or region
year
The year reported
fuel
The name of the fuel
quads
The number of quads per year the country or region consumes
frac
The fraction of the country's energy that comes from that
fuel
Arguments
region_name
A character vector with the names of one or more
countries or regions to look up
collapse_renewables
Combine hydroelectricity and other renewables
into a single category.
quiet
Suppress warnings if there is no data for that country or
region.
region_code
Optional three-letter country or region codes to look up
instead of the region_name