Initialise globe

gior(data = NULL, init.country = "US", width = "100%",
  height = NULL, elementId = NULL)

Arguments

data

A data.frame.

init.country

An ISO code of the country displayed at the center of the screen when the globe has been initialized.

width, height

Must be a valid CSS unit (like '100%', '400px', 'auto') or a number, which will be coerced to a string and have 'px' appended.

elementId

Id of element, auto-generated if NULL.

Examples

data("country_data") country_data %>% gior(init.country = "CN") %>% g_data(from, to, value)