A city database and a game !
Install development version from GitHub with:
remotes::install_github("dreamRs/where")
Get all available cities (109 373) with:
library(where)
cities <- get_cities()
Data contains all cities with a population > 1000 or seats of adm div (ca 150.000) from GeoNames.
Or for a specific country:
uk <- get_cities(country_name = "United Kingdom")
Get statistics by country:
get_countries()
Choose a country or continent and guess where cities are :
where::where()
You can search country too :
where(mode = "country")
You can launch application in your browser by setting:
options("where.viewer" = "browser")
You can use a default area to play with:
options("where.area" = "France")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.