{"id":16472949,"url":"https://github.com/elipousson/birdseyeview","last_synced_at":"2025-06-10T21:32:33.178Z","repository":{"id":83966631,"uuid":"466202687","full_name":"elipousson/birdseyeview","owner":"elipousson","description":"🦉🗺️ A R package for making community planning maps.","archived":false,"fork":false,"pushed_at":"2022-09-21T03:09:58.000Z","size":3185,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T12:38:54.284Z","etag":null,"topics":["r-package","rspatial","rstats","urban-planning"],"latest_commit_sha":null,"homepage":"https://elipousson.github.io/birdseyeview/","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/elipousson.png","metadata":{"files":{"readme":"README.Rmd","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}},"created_at":"2022-03-04T16:55:20.000Z","updated_at":"2022-07-07T02:08:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"dac1e3d6-3e42-4fb6-94ad-83c20ba7b53e","html_url":"https://github.com/elipousson/birdseyeview","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"9d6e17cda6efa4e8f024f9e89e441930549a209b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elipousson%2Fbirdseyeview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elipousson%2Fbirdseyeview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elipousson%2Fbirdseyeview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elipousson%2Fbirdseyeview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elipousson","download_url":"https://codeload.github.com/elipousson/birdseyeview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elipousson%2Fbirdseyeview/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259154461,"owners_count":22813603,"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":["r-package","rspatial","rstats","urban-planning"],"created_at":"2024-10-11T12:19:06.195Z","updated_at":"2025-06-10T21:32:33.160Z","avatar_url":"https://github.com/elipousson.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# birdseyeview\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/birdseyeview)](https://CRAN.R-project.org/package=birdseyeview)\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n\u003c!-- badges: end --\u003e\n\nThe goal of birdseyeview is to make it easy to create the types of maps, plots, and tables used for community plans.\n\nThis package was initially designed to use the [overedge package](https://elipousson.github.io/overedge/) and data packages like [mapbaltimore](https://elipousson.github.io/mapbaltimore/) or [bcpss](https://elipousson.github.io/bcpss/) to create reproducible maps and tables for a range of needs. The {overedge} package has since been superseded by sfext, getdata, and maplayer. maplayer incorporated most of the mapping functions creating for birdseyeview. These duplicative functions were removed from birdseyeview in Setember 2022.\n\n## Installation\n\nYou can install the development version of birdseyeview like so:\n\n``` r\nremotes::install_github(\"elipousson/birdseyeview\")\n```\n\n## Example\n\n```{r setup}\nlibrary(birdseyeview)\nlibrary(getdata)\nlibrary(sfext)\nlibrary(maplayer)\n```\n\n\n### Make tables \n\n```{r gt_sf_rows}\nparks \u003c-\n  getdata::get_location_data(\n    data = \"parks\",\n    package = \"mapbaltimore\"\n  )\n\nparks %\u003e%\n  dplyr::slice_head(n = 4) %\u003e%\n  dplyr:::select(name, address, park_district, acres, geometry) %\u003e%\n  dplyr::group_by(park_district) %\u003e%\n  gt::gt() %\u003e%\n  gt_sf_rows(fill = \"forestgreen\", color = \"lightgreen\", size = 6)\n```\n\n```{r tbl_photo_key, eval = FALSE}\npark_photos \u003c-\n  getdata::get_flickr_photos(\n    user_id = \"baltimoreheritage\",\n    tags = \"druidhillpark\",\n    img_size = \"m\",\n    sort = \"date-posted\",\n    per_page = 20\n  )\n\npark_photos[1:6, ] %\u003e%\n  dplyr::select(title, datetaken, image_height, image_width, image_url) %\u003e%\n  tbl_photo_key(photo_col = \"image_url\", orientation = \"landscape\", number = TRUE)\n```\n\n### Make maps\n\n```{r}\nlibrary(ggplot2)\n```\n\n\n```{r layer_show_context}\nggplot() +\n  maplayer::layer_location_context(\n    data = parks[245, ],\n    fill = \"green\",\n    context = parks,\n    context_params = list(fill = \"forestgreen\", color = \"gray60\", alpha = 1)\n  )\n```\n\n\n```{r make_group_layers, eval=FALSE}\n# make_group_layers has been dropped from birdseyeview but isn't available in maplayer yet\npark_district_layers \u003c-\n  make_group_layers(\n    data = parks %\u003e% sf::st_centroid(),\n    mapping = aes(color = name),\n    groupname_col = \"park_district\"\n  )\n\nclifton_district \u003c-\n  getdata::get_location(\n    type = \"park_districts\",\n    package = \"mapbaltimore\",\n    name = \"Clifton\"\n  )\n\nggplot() +\n  park_district_layers[[1]] +\n  guides(color = \"none\") +\n  layer_show_location(\n    data = clifton_district\n  ) +\n  theme_void()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felipousson%2Fbirdseyeview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felipousson%2Fbirdseyeview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felipousson%2Fbirdseyeview/lists"}