createcountryindex: Generate a list of reports

Description Usage Arguments Examples

View source: R/report.R

Description

Generate a list of reports

Usage

1
2
3
4
createcountryindex(countries, template = "countryindex.Rmd",
  inputpath = system.file("templates", package = "tradeflows"),
  outputdir = "reports/overview", filename = "countryindex.html",
  encoding = "UTF-8")

Arguments

template

name of the template file, including .Rmd extension

inputpath

path of the template, defaults to package internal path

outputdir

name of the output directory relative to getwd()

filename

name of the output file

encoding,

encoding of the template file

Examples

1
2
3
4
5
## Not run: 
countries <- data_frame(reporter = c("Finland", "France"))
createcountryindex(countries)

## End(Not run)

EuropeanForestInstitute/tradeflows documentation built on Oct. 7, 2019, 10:57 a.m.