mapWidget: mapWidget

Description Usage Arguments

View source: R/mapWidget.R

Description

Create a map of Rt summary data

Usage

1
2
3
4
5
6
7
8
mapWidget(
  geoData = NULL,
  rtData = NULL,
  width = 900,
  elementId = NULL,
  dryRun = FALSE,
  downloadUrl = NULL
)

Arguments

geoData

sf object, map data

rtData

data.frame, rt estimates in the format 'Source':'rtData':x, 'casesInfectionData':x, 'casesReportData':x, 'obsCasesData':x, ...

width

integer, width in pixels

elementId

string, id of element

dryRun

Logical, defaults to FALSE. Should the function be tested without the widget being created.

downloadUrl

string, optional URL to download datasets Useful for checking the integrity of input data.


RtD3 documentation built on Nov. 8, 2020, 4:22 p.m.