-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
64 lines (47 loc) · 1.35 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# mapmaryland
<!-- badges: start -->
[![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)
<!-- badges: end -->
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)
```