parks: Location of parks in Iowa

parksR Documentation

Location of parks in Iowa

Description

Dataset was scraped by Masoud Nosrati from MyCountyParks in Mar 2020, geocoding by Andrew Maloney through QGIS.

Usage

parks

Format

A data frame with 1645 rows and 15 variables:

name

name of the park

county

name of the county

city

name of the city

state

name of the state

phone

phone number

zip

5-digit zip code

result_num

1645 0s XXX delete column?

status

1645 OKs XXX delete column?

address

formatted addresses - some are duplicates - XXX look into

latitude

geographic latitude

longitude

geographic longitude

classification

column used to classify the data set

Source

https://www.mycountyparks.com/County/Default.aspx

Examples

# Map of parks in Iowa county using ggplot2
library(ggplot2)
library(dplyr) # for the pipe

parks %>%
 # filter(county == "Story county) %>%
  ggplot() +
    geom_point(aes(x = longitude, y = latitude))

# leaflet map
library(leaflet)
library(sf)

parks %>%
  leaflet() %>%
    addTiles() %>%
    addPolygons(data = ia_counties,
                weight = 1, color="#333333") %>%
    addCircleMarkers(lng = ~longitude, lat = ~latitude,
                     radius = 1, stroke = 0.1,
                     label = ~name)

DSPG-ISU/DSPG documentation built on Feb. 19, 2024, 9:36 p.m.