write_to_all_states | R Documentation |
write out data to all states
write_to_all_states(data, names, region_list = gcamusa.STATES)
data |
Base tibble to start from |
names |
Character vector indicating the column names of the returned tibble |
region_list |
Character vector containing names of regions for which USA national data is repeated |
Tibble with data written out to all USA states
Used for USA national data by GCAM region, which is repeated for each US state
Contains an argument which allows user to specify a different region list.
For example, this is occasionally used to write all USA data to GCAM-USA grid regions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.