maps: Maps

Description Usage Arguments Details Examples

Description

Add map dependency to e_charts chart.

Usage

1
2
3
em_map(e, map)

em_bank()

Arguments

e

An object of class echarts4r.

map

Map name, a country.

Details

essentially a wrapper to e_map_register.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
maps <- em_bank() # list of all maps

## Not run: 
library(echarts4r)

df <- data.frame(x = "", y = "")

df %>% 
  e_charts(x) %>%
  em_map("France") %>% 
  e_map(y, map = "france") 

## End(Not run)

JohnCoene/echarts4r.maps documentation built on March 14, 2020, 10:26 a.m.