SwedenMap: A function to plot yearly data from www.kolada.se. Most code...

Description Usage Arguments Examples

Description

This function plots yearly data from www.kolada.se. Output is an interactive html document, and a static pdf. If gif=TRUE the function also plots a longitudinal gif of the data

Usage

1
2
SwedenMap(name = NULL, kpiID = NULL, year = 2015, gif = FALSE,
  value = FALSE, znorm = FALSE, outfile = TRUE)

Arguments

name

Name of outpufile/plot title. Required. Default is NULL.

kpiID

kpiIDs from www.kolada.se. Can be found in the KPI_id files. Required. Default is NULL.

year

Year to be plotted as interactive and PDF. Default to 2016.

gif

Plots longitudinal data of all years included. Takes substanstial time. Default is FALSE.

value

Plots values instead of percentage. Default is FALSE.

znorm

Plots z-values per group and year. Default is FALSE.

outfile

Writes output to files. Chose FALSE for Rmarkdown document. Default is TRUE.

Examples

1
cat_function()

jespermaag/SwedenMap documentation built on May 27, 2019, 1:45 p.m.