View source: R/get_report_results.R
get_report_results | R Documentation |
Extracting data from the STICS report file
get_report_results(
workspace,
file_name = "mod_rapport.sti",
usm = NULL,
var_list = NULL,
usm_name = lifecycle::deprecated()
)
workspace |
Path of the directory containing the STICS report file to read. |
file_name |
A report file name among "mod_rapport.sti" (default), "mod_rapportA.sti", "mod_rapportP.sti" |
usm |
Vector of USM names. Optional, if not provided, the function returns the results for all USMs. |
var_list |
vector of output variables names to filter
(optional, see |
usm_name |
The data may be filtered using usm_name
vector of usm names and
and/or var_list
vector of variables names. In the returned data.frame,
variables names respect the same syntax as in the get_sim output.
A data.frame
path <- get_examples_path(file_type = "sti")
get_report_results(workspace = path)
get_report_results(workspace = path, usm = c("DurumWheat", "grass"))
get_report_results(workspace = path, var_list = c("masec(n)", "QNplante"))
get_report_results(workspace = path, usm = c("DurumWheat", "grass"))
get_report_results(workspace = path)
get_report_results(workspace = path, file_name = "mod_rapportA.sti")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.