summaryWidget.Rd
Create an Rt visualisation using D3
summaryWidget( geoData = NULL, summaryData = NULL, rtData = NULL, activeArea = NULL, activeTime = "all", runDate = NULL, subregional_ref = NULL, width = 900, elementId = NULL, dryRun = FALSE )
geoData | sf object, map data |
---|---|
summaryData | data.frame, summary data for mapping |
rtData | data.frame, rt estimates in the format 'Source':'rtData':x, 'casesInfectionData':x, 'casesReportData':x, 'obsCasesData':x, ... |
activeArea | character, the default area to plot. |
activeTime | character, the default time window (defaults to 'all') |
runDate | character, date of estimate run in the format ('YYYY-MM-DD') |
subregional_ref | list, reference to subnational estimates in the format 'country_name':'url', .... |
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. Useful for checking the integrity of input data. |