couReport: COU Report

Description Usage Arguments Details Author(s) See Also Examples

Description

Create National Source Report

Usage

1
2
3
4
couReport(cou.sou = stop("'cou.sou' must be specified"), isic = 4,
  create.data = TRUE, create.plot = TRUE, namevar.plot = NULL,
  file.brew = file.path(PATH.COUi4, "STAN_collect_load.brew"),
  file.out.prefix = "Report_", date = 2013)

Arguments

cou.sou

a 3-digit country ISO code character string and source ID.

isic

an integer specifying the version of ISIC.

create.data

logical controls creation of SAS input data.

create.plot

logical controls creation of data plot with all sources.

namevar.plot

a character vector specifying the variables to be plotted.

file.brew

a character string specifying the brew file to be used.

file.out.prefix

a character string implicitly specifying the output location and filename.

date

a character string specifying the collection period in the output filename.

brew.file

the name of the brew file located a character string prepending the output filename.

Details

Creates HTML report for a flat data file.

Author(s)

OECD STAN

See Also

NSO2XLS

Examples

1
2
3
4
5
6
7
8
9
couReport(cou="FRA")

namecou <- c('BEL', 'DEU', 'FIN', 'FRA', 'ITA', 'NLD')
seeds <- as.character(namecou)
path <- paste0(sub("Progs", "Data", PATH.COUi3))
results <- sapply(seeds, couReport,
                  brew.file = paste0(path, "STAN_collect_load.brew"),
                  path.out = paste0(path, cou, "\\Rawdata\\Report_"))
for (url in results) browseURL(url)

bowerth/stan documentation built on May 13, 2019, 12:38 a.m.