Description Usage Arguments Details Examples
The location of the report can be changed by changing the outputdir parameter.
See arguments of createreport()
to determine in which folder the template is located.
1 2 3 4 5 | createoverviewreport(reporter_, productcode_ = NULL, beginyear = 0,
endyear = 9999, template = "overviewtradevalue.Rmd",
outputdir = "reports/overview", tableread = "validated_flow_yearly",
jfsqlevel = 2, fileprefix = gsub("\\..*", "", template),
dataonly = FALSE, ...)
|
reporter_ |
character name of a country reporting data |
productcode_ |
vector of product code, NULL by default to generate the report for all products |
template |
name of the template file. |
outputdir |
path where report will be saved, relative to the working directory or an absolute path. |
jfsqlevel |
integer 1 or 2 the level of jfsq product names to be used, see the internal table classificationitto |
... |
further arguments passed to |
jfsqlevel determines the product group levels, there are approximatley a dozen of product groups under jfsq level 1 and sixty product groups under level 2. Depending on the level choosen, there will be a dozen or sixty titles in the overview report.
1 2 3 4 5 | ## Not run:
createoverviewreport("China", beginyear = 2010, endyear = 2013, outputdir = "/tmp")
createoverviewreport("China", beginyear = 2010, endyear = 2013, inputpath = "inst/templates")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.