calc_ghgv: GHGVC

Description Usage Arguments Details Value Author(s)

View source: R/ghgvc.R

Description

Greenhouse Gas Value Calculator

Usage

1
2
3
calc_ghgv(eco, is_xml = FALSE, output_filename = "ghgv.csv",
  save_output = FALSE, plot_filename = "ghgv_plot.png",
  plot_units = c("co2", "mi"), save_plots = FALSE)

Arguments

eco

(json/xml string) A JSON/XML list of configuration settings and data parameters.

is_xml

(logical) indicating that eco_json is xml instead of json.

output_filename

(character) name of file to write.

save_output

(logical) indicating whether or not to write the results.

plot_filename

(character) name of plot to write.

plot_units

(character) units to plot in. May be contain multiple values.

save_plots

(logical) indicating whether or not to save the plot images. the results.

Details

R function implementation of GHGV_calculator_web.m

Value

List of GHGVC results for each location specified in eco_json.

Author(s)

Chris Schauer, David LeBauer, Nicholas Potter


ebimodeling/ghgvcR documentation built on April 28, 2021, 8:19 p.m.