{"id":28631442,"url":"https://github.com/dreamrs/where","last_synced_at":"2025-07-27T09:08:05.202Z","repository":{"id":95093969,"uuid":"140338227","full_name":"dreamRs/where","owner":"dreamRs","description":":round_pushpin: Cities database and a game!","archived":false,"fork":false,"pushed_at":"2020-01-26T16:26:56.000Z","size":6734,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T13:46:19.948Z","etag":null,"topics":["addin","game","r","rstudio-addin"],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dreamRs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-09T20:23:56.000Z","updated_at":"2025-05-18T13:22:56.000Z","dependencies_parsed_at":"2023-05-26T14:30:33.053Z","dependency_job_id":null,"html_url":"https://github.com/dreamRs/where","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dreamRs/where","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Fwhere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Fwhere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Fwhere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Fwhere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreamRs","download_url":"https://codeload.github.com/dreamRs/where/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Fwhere/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267334309,"owners_count":24070548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addin","game","r","rstudio-addin"],"created_at":"2025-06-12T13:30:53.658Z","updated_at":"2025-07-27T09:08:05.128Z","avatar_url":"https://github.com/dreamRs.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# where \u003cimg src=\"man/figures/logo_where.png\" width=200 align=\"right\" /\u003e\n\n\u003e A city database and a game !\n\n\u003c!-- badges: start --\u003e\n[![Travis build status](https://travis-ci.org/dreamRs/where.svg?branch=master)](https://travis-ci.org/dreamRs/where)\n[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)\n\u003c!-- badges: end --\u003e\n\n\n## Installation\n\nInstall development version from [GitHub](https://github.com/) with:\n\n``` r\nremotes::install_github(\"dreamRs/where\")\n```\n\n\n## Play online\n\n* Country mode : https://dreamrs.shinyapps.io/where-is-this-country/\n* City mode : https://dreamrs.shinyapps.io/where-is-this-city/\n\n\n## City database\n\nGet all available cities (109 373) with:\n\n``` r\nlibrary(where)\ncities \u003c- get_cities()\n```\n\nData contains all cities with a population \u003e 1000 or seats of adm div (ca 150.000) from [GeoNames](http://www.geonames.org/export/).\n\n\nOr for a specific country:\n\n```r\nuk \u003c- get_cities(country_name = \"United Kingdom\")\n```\n\n\nGet statistics by country:\n\n```r\nget_countries()\n```\n\n\n## Test your geography skills!\n\n### City mode\n\nChoose a country or continent and guess where cities are :\n\n``` r\nwhere::where()\n```\n\n![](img/where-city.png)\n\n\n\n### Country mode\n\nYou can search country too :\n\n```r\nwhere(mode = \"country\")\n```\n\n![](img/where-country.png)\n\n\n\n### Options\n\nYou can launch application in your browser by setting:\n\n```r\noptions(\"where.viewer\" = \"browser\")\n```\n\nYou can use a default area to play with:\n\n```r\noptions(\"where.area\" = \"France\")\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamrs%2Fwhere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreamrs%2Fwhere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamrs%2Fwhere/lists"}