geopeasy
geojson-xyz inspired
install.packages("devtools") devtools::install_github("sckott/geopeasy")
library("geopeasy")
peasy(query = "political") #> Select one: #> 1: countries #> 2: states #> 3: boundaries #> 4: other #> #> Selection: 1 #> #> Select one: #> 1: ne_50m_admin_0_tiny_countries.zip #> 2: ne_50m_admin_0_tiny_countries_scale_rank.zip #> 3: ne_110m_admin_0_countries.zip #> 4: ne_10m_admin_0_countries.zip #> 5: ne_10m_admin_0_countries_lakes.zip #> 6: ne_110m_admin_0_countries_lakes.zip #> 7: ne_50m_admin_0_countries.zip #> 8: ne_110m_admin_0_tiny_countries.zip #> 9: ne_50m_admin_0_countries_lakes.zip #> #> Selection: 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.