Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elipousson/mapmaryland
🦀 R package with assorted data for Maryland (U.S. state)
https://github.com/elipousson/mapmaryland
maryland r-package rspatial
Last synced: 27 days ago
JSON representation
🦀 R package with assorted data for Maryland (U.S. state)
- Host: GitHub
- URL: https://github.com/elipousson/mapmaryland
- Owner: elipousson
- License: other
- Created: 2022-04-05T21:16:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-10T20:38:47.000Z (about 1 year ago)
- Last Synced: 2024-03-26T16:11:30.573Z (8 months ago)
- Topics: maryland, r-package, rspatial
- Language: R
- Homepage: https://elipousson.github.io/mapmaryland/
- Size: 122 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# mapmaryland
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)The goal of mapmaryland is to ease access to spatial data for Maryland at both the local, regional, and statewide level.
## Installation
You can install the development version of mapmaryland like so:
``` r
# pak::pkg_install("elipousson/mapmaryland")
```## Example
```{r}
library(mapmaryland)
```Currently, the package has a limited number of data access functions, prepackaged datasets, and reference data with an index of Maryland ArcGIS services.
```{r}
dplyr::glimpse(md_arcgis_index)
``````{r get_md_tigris}
location <-
get_md_tigris(
name = "Hyattsville",
type = "census places"
)location
``````{r get_imap_data}
streams <-
get_water_data(
location = location,
type = "streams"
)plot(streams, max.plot = 1)
```