write out data to all states
write_to_all_states(data, names, region_list = gcamusa.STATES)
Base tibble to start from
Character vector indicating the column names of the returned tibble
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.