{"id":16571901,"url":"https://github.com/hrbrmstr/ggvis-maps","last_synced_at":"2025-03-21T12:31:05.963Z","repository":{"id":25154629,"uuid":"28577219","full_name":"hrbrmstr/ggvis-maps","owner":"hrbrmstr","description":"Examples of various kinds of maps in ggvis (with \u0026 without shiny)","archived":false,"fork":false,"pushed_at":"2014-12-29T14:36:57.000Z","size":4922,"stargazers_count":52,"open_issues_count":2,"forks_count":27,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-18T01:11:20.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrbrmstr.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-29T02:16:35.000Z","updated_at":"2024-07-15T06:41:26.000Z","dependencies_parsed_at":"2022-09-17T00:51:52.371Z","dependency_job_id":null,"html_url":"https://github.com/hrbrmstr/ggvis-maps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fggvis-maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fggvis-maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fggvis-maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fggvis-maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrbrmstr","download_url":"https://codeload.github.com/hrbrmstr/ggvis-maps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244799275,"owners_count":20512219,"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","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":[],"created_at":"2024-10-11T21:25:37.573Z","updated_at":"2025-03-21T12:31:04.527Z","avatar_url":"https://github.com/hrbrmstr.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: \"ggvis maps\"\nauthor: \"Bob Rudis (@hrbrmstr)\"\ndate: \"December 27, 2014\"\noutput:\n  md_document:\n    variant: markdown_github\n---\n\nMaking maps with ggvis with some examples showing:\n\n- basic map creation\n- basic maps with points/labels\n- dynamic choropleths (with various scales)\n- applying projections and custom color fills\n- apply projections and projecting coordinates for plotting\n\nThe `R` file lets you play interactively with each example. The `Rmd` file shows what the plots look like in static format. The Shiny code (`ui.R`, `server.R`) provides an interactive version in a Shiny app context.\n\nThe `Rmd` has also been published on [RPubs](http://rpubs.com/hrbrmstr/ggvis-maps) and there's a [blog post](http://rud.is/b/2014/12/29/making-static-interactive-maps-with-ggvis-using-ggvis-maps-wshiny/) with slightly more expository than the code.\n\nOne of the caveats with `ggvis` is that you need an online context for interactively (making things like interactive choropleths useless without such a context). You'd need to account for this in the `Rmd` by setting up a faux-facet series for the maps, either with a `\u003ctable\u003e` or `\u003cdiv\u003e` grid.\n\n=======================\n\n- Maine GeoJSON from `http://catalog.opendata.city/hu/dataset/maine-counties-polygon/resource/ee88d12c-a832-4e4f-a93c-dfd693694688`\n- Maine crime data from `http://muskie.usm.maine.edu/justiceresearch/datacenter.html`\n- Maine population data from `http://www.maine.gov/economist/census/`\n- US GeoJSON from `http://eric.clst.org/Stuff/USGeoJSON`\n- Drought data from `http://droughtmonitor.unl.edu/MapsAndData/GISData.aspx`\n- World GeoJSON from `http://www.naturalearthdata.com/downloads/`\n- Launch sites `kml` from `http://en.wikipedia.org/wiki/List_of_rocket_launch_sites`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fggvis-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrbrmstr%2Fggvis-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fggvis-maps/lists"}