write_to_all_states: write_to_all_states

write_to_all_statesR Documentation

write_to_all_states

Description

write out data to all states

Usage

write_to_all_states(data, names, region_list = gcamusa.STATES)

Arguments

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

Value

Tibble with data written out to all USA states

Note

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.


JGCRI/gcamdata documentation built on March 21, 2023, 2:19 a.m.