README.md

where

A city database and a game !

Travis build status Lifecycle: stable

Installation

Install development version from GitHub with:

remotes::install_github("dreamRs/where")

Play online

City database

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()

Test your geography skills!

City mode

Choose a country or continent and guess where cities are :

where::where()

Country mode

You can search country too :

where(mode = "country")

Options

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")


dreamRs/where documentation built on Jan. 30, 2020, 4:20 p.m.