Skip to contents

Get API parameter options for Ember dataset

Usage

get_ember_options(
  dataset = c("electricity-generation", "power-sector-emissions", "electricity-demand",
    "carbon-intensity"),
  temporal_resolution = c("yearly", "monthly"),
  filter_name = "entity",
  api_key = Sys.getenv("EMBER_API_KEY")
)

Arguments

dataset

Default="electricity-generation"

temporal_resolution

default ="yearly"

filter_name

Parameter to get options for (ex: entity, series, date. Default = "entity")

api_key

Default is Sys.getenv("EMBER_API_KEY")

Value

options List of options for specified parameter