hospital_buildings.Rd
Iowa hospital buildings listed in the federal Geographic Names Information System.
hospital_buildings
A data frame with 1709 rows and 11 variables:
Name of building
Type of building. All records in this dataset will be "hospital".
State of the location
County of the location
Elevation in meters above sea level of the location
Elevation in feet above sea level of the location
Name of the location of the building
Date that the feature was added to the database
Date at which the record was last updated
column used for classifying the data set
sf point object of geographic location
https://data.iowa.gov/Physical-Geography/Iowa-Hospital-Buildings/ciqq-2z9p
library(dplyr) # Leaflet map of hospital buildings in Iowa library(leaflet) library(sf) hospital_buildings %>% leaflet() %>% addTiles() %>% addPolygons(data = ia_counties, weight = 1, color="#333333") %>% addCircleMarkers(radius = 1, stroke = 0.1, label=~name) %>% addEasyButton(easyButton( icon="fa-crosshairs", title="Locate Me", onClick=JS("function(btn, map){ map.locate({setView: true}); }")))