proxy: Proxy for updating d3_map in Shiny

Description Usage Arguments Examples

Description

Proxy for updating d3_map in Shiny

Usage

1
2
3
4
5
d3_map_proxy(shinyId, data = NULL,
  session = shiny::getDefaultReactiveDomain())

d3_cartogram_proxy(shinyId, data = NULL,
  session = shiny::getDefaultReactiveDomain())

Arguments

shinyId

single-element character vector indicating the output ID of the chart to modify (if invoked from a Shiny module, the namespace will be added automatically)

data

An object containing data to map, must be the same object used in d3_map.

session

the Shiny session object to which the chart belongs; usually the default value will suffice

Examples

1
2
3
4
5
6
## Not run: 

# todo


## End(Not run)

dreamRs/r2d3maps documentation built on May 25, 2019, 8:17 a.m.