maps: Maps

Description Usage Arguments Details Examples

Description

Add map dependency to e_charts chart.

Usage

1
2
3
4
5
em_map(e, map)

em_bank()

get_json(map)

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 Jan. 12, 2021, 12:45 a.m.