Running gcamdata

driver_drake()

driver_drake

driver()

driver

dstrace()

A tracing utility for the GCAM Data System.

info()

info

inputs_of()

inputs_of

load_from_cache()

load_from_cache

outputs_of()

outputs_of

create_datamap_from_cache()

create_datamap_from_cache

Chunk Helper Functions

add_carbon_info()

add_carbon_info

add_node_leaf_names()

add_node_leaf_names

approx_fun()

approx_fun

approx_fun_constant()

approx_fun_constant

append_GLU()

append_GLU

change_iso_code()

Change a particular ISO code in a table to another code.

downscale_FAO_country()

downscale_FAO_country

dstrace_chunks()

A simplified dstrace which simply finds the chunks which are precursors recursively.

dstrace_plot()

Plot a trace

evaluate_smooth_res_curve()

evaluate_smooth_res_curve

extract_prebuilt_data()

extract_prebuilt_data

fast_left_join()

Fast left join for large tables

fill_exp_decay_extrapolate()

fill_exp_decay_extrapolate

gather_years()

Helper function: call tidyr::gather for year-like columns and convert them to integers

gdp_deflator()

Calculate a gross domestic product (GDP) implicit price deflator between two years.

get_ssp_regions()

get_ssp_regions

graph_chunks()

graph_chunks

join.gdp.ts()

Join past GDP time series to future.

left_join_error_no_match()

left_join_error_no_match

left_join_keep_first_only()

Compute a left join, taking only the first match.

NEI_to_GCAM()

NEI_to_GCAM

protect_integer_cols() unprotect_integer_cols()

Protect column names that are bare integers from being interpreted as integers

reduce_mgd_carbon()

reduce_mgd_carbon

rename_SO2()

rename_SO2

repeat_add_columns()

repeat_add_columns

replace_GLU()

replace_GLU

return_data()

return_data

return_modified()

return_modified

save_chunkdata()

Write data produced by chunks to csv files.

set_subsector_shrwt()

set_subsector_shrwt

set_traded_names()

set_traded_names

set_water_input_name()

set_water_input_name

set_years()

set_years

smooth_res_curve_approx_error()

smooth_res_curve_approx_error

standardize_iso()

Standardize the ISO column by converting to lower case and renaming to 'iso'

verify_identical_prebuilt()

verify_identical_prebuilt

write_to_all_regions()

write_to_all_regions

write_to_all_states()

write_to_all_states

Add to Output Data

add_comments()

add_comments

add_flags()

add_flags

add_legacy_name()

add_legacy_name

add_precursors()

add_precursors

add_reference()

add_reference

add_title()

add_title

add_units()

add_units

same_attributes_as()

same_attributes_as

same_precursors_as()

same_precursors_as

XML Batch Chunk Functions

add_logit_tables_xml()

Add a table which has definitions with logit.type to be converted to XML

add_logit_tables_xml_generate_levels()

Add a table to convert to XML but generate additional levels of XML nesting providing a special case for logit tables.

add_node_equiv_xml()

add_node_equiv_xml

add_rename_landnode_xml()

Add a table to an XML pipeline that instructs the ModelInterface to rename LandNodeX to LandNode.

add_xml_data()

Add a table to an XML pipeline to include for conversion to XML.

add_xml_data_generate_levels()

Add a table to convert to XML but generate additional levels of XML nesting

Constants

GCAM_DATA_MAP

GCAM_DATA_MAP

LEVEL2_DATA_NAMES

A list of column orderings keyed by the ModelInterface header so that we can ensure tables being sent to be converted to XML by the ModelInterface have their columns arranged in the order the ModelInterface is expecting them.

PREBUILT_DATA

A list of prebuilt data objects. These are used when the proprietary IEA energy data files are not available, and thus module_energy_LA100.IEA_downscale_ctry is not able to run. Its immediate downstream dependencies then used the prebuilt versions of their outputs stored in this object.

XML_NODE_EQUIV

A list of XML tag equivalence classes so that the ModelInterface when converting data to XML can treat tags in the same class as the same when enabled, thus not requiring multiple headers for instance to read in a share-weight into a technology intermittent-technology or tranTechnology.