dstrace: A tracing utility for the GCAM Data System.

Description Usage Arguments Details Value Author(s) Examples

View source: R/dstrace.R

Description

A tracing utility for the GCAM Data System.

Usage

1
2
3
dstrace(object_name, direction = "upstream", graph = FALSE,
  gcam_data_map = GCAM_DATA_MAP, previous_tracelist = NULL,
  recurse = TRUE, ...)

Arguments

object_name

Name of object to trace (can be either a data object or a code chunk)

direction

Trace direction ("upstream", the default; "downstream"; or "both"), character

graph

Plot a directed graph of relationships? Logical

gcam_data_map

A tibble of metadata information; normally a built-in package dataset

previous_tracelist

Information about previous objects printed

recurse

Recurse to print information about precursor objects? Logical

...

Extra arguments passed on to dstrace_plot

Details

What other data products feed into some particular data system object? Conversely, to what other products does some object feed? These are the kinds of questions that dstrace can help answer.

Value

A tibble with the trace information (object name and trace number), invisibly

Author(s)

BBL

Examples

1
2
3
dstrace("L100.FAO_ag_Exp_t")
dstrace("L100.FAO_ag_Exp_t", direction = "downstream")
dstrace("L100.FAO_ag_Exp_t", direction = "both", graph = TRUE)

rohmin9122/gcam-korea-release documentation built on Nov. 26, 2020, 8:11 a.m.