{"id":17991428,"url":"https://github.com/nowosad/us-map-alternative-layout","last_synced_at":"2025-03-25T23:32:11.070Z","repository":{"id":83717740,"uuid":"161046120","full_name":"Nowosad/us-map-alternative-layout","owner":"Nowosad","description":"Alternative layout for maps of the United States - code and data","archived":false,"fork":false,"pushed_at":"2018-12-14T17:36:58.000Z","size":616,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T23:01:37.826Z","etag":null,"topics":["maps","r","spatial","spatial-data"],"latest_commit_sha":null,"homepage":"","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/Nowosad.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-09T14:10:27.000Z","updated_at":"2022-02-25T21:58:47.000Z","dependencies_parsed_at":"2023-03-12T19:30:09.036Z","dependency_job_id":null,"html_url":"https://github.com/Nowosad/us-map-alternative-layout","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"e574f12600319be407c8f016df0702409633a19a"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nowosad%2Fus-map-alternative-layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nowosad%2Fus-map-alternative-layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nowosad%2Fus-map-alternative-layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nowosad%2Fus-map-alternative-layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nowosad","download_url":"https://codeload.github.com/Nowosad/us-map-alternative-layout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245562196,"owners_count":20635887,"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":["maps","r","spatial","spatial-data"],"created_at":"2024-10-29T19:22:06.608Z","updated_at":"2025-03-25T23:32:11.046Z","avatar_url":"https://github.com/Nowosad.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: \"Alternative layout for maps of the United States\"\noutput: github_document\n---\n\n```{r setup, include=FALSE}\nknitr::opts_chunk$set(echo = TRUE)\n```\n\n[![DOI](https://zenodo.org/badge/161046120.svg)](https://zenodo.org/badge/latestdoi/161046120)\n\n```{r, echo=FALSE, fig.align='center', out.height=400}\nknitr::include_graphics(\"figs/us_albers_alt.png\", dpi = NA)\n```\n\nMaps of the United States often focus only on the contiguous 48 states. \nIn many maps, Alaska and Hawaii are simply not shown or are displayed at different geographic scales than the main map.\nThis repo contains [an R code](https://github.com/Nowosad/us-map-alternative-layout/blob/master/R/01_create_alternative_layout.R) to create an inset map of the USA, which shows all its states and ensures relative sizes are preserved.\n\n## Data\n\nSpatial data allowing for alternative visualizations of the United States is available in:\n\n- [GeoPackage format](https://github.com/Nowosad/us-map-alternative-layout/raw/master/data/us_albers_alt.gpkg)\n- [ESRI Shapefile format](https://github.com/Nowosad/us-map-alternative-layout/raw/master/data/us_albers_alt_shp.zip)\n- [RDS format](https://github.com/Nowosad/us-map-alternative-layout/raw/master/data/us_albers_alt.rds)\n\n## Acknowledgements\n\nThe code for map layout creation was adapted from the visualizing geospatial data chapter of [the Fundamentals of Data Visualization book](https://serialmentor.com/dataviz/geospatial-data.html) by [Claus Wilke](https://twitter.com/ClausWilke) and builds upon an idea from a blog post - [Making maps of the USA with R: alternative layout](https://nowosad.github.io/post/making-alternative-inset-maps-of-the-usa/).\n\nRead [the Geocomputation with R book](https://geocompr.robinlovelace.net/) to learn more about spatial data operations and visualizations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowosad%2Fus-map-alternative-layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnowosad%2Fus-map-alternative-layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowosad%2Fus-map-alternative-layout/lists"}