Print and return information about an object.
info(
object_name,
gcam_data_map = NULL,
previous_tracelist = NULL,
upstream = TRUE,
downstream = TRUE,
print = TRUE
)Name of object to get information about (can be either a data object or a code chunk)
A tibble of metadata information; normally a built-in package dataset
Information about previous objects printed (if called from dstrace)
Print and return upstream precursors? Logical
Print and return downstream dependents? Logical
Print to console? Logical
If called directly, returns an entry from GCAM_DATA_MAP; if called from dstrace, a two-
element list with linked object and tracelist information. If called and object_name is the name of a
code chunk (as opposed to that of a data object), the relevant help page will be pulled up.
info("L100.FAO_ag_Exp_t")
#> L100.FAO_ag_Exp_t - produced by module_aglu_LA100.FAO_downscale_ctry
#> FAO agricultural exports by country, item, year (t)
#> Downscale countries; calculate 5-yr averages
#> Dependent: L106.ag_NetExp_Mt_R_C_Y
#> Precursor: aglu/FAO/FAO_ag_Exp_t_SUA
#> Precursor: aglu/AGLU_ctry
info("module_aglu_L222.land_input_2")