Skip to content

Mapping Ottawa’s fire stations using open data and R.

License

Notifications You must be signed in to change notification settings

IVI-M/ottawa-fire-stations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapping Ottawa’s fire stations

I have a minor fascination with fire trucks and firefighting. Friends can attest that I often take note of the number on a fire truck as it goes by, to know which station it’s from and what type of truck it is.

As I see more trucks, I find more station numbers that I didn’t know of previously. I wanted to have a map of Ottawa’s fire stations, so I could determine where the fire trucks are coming from. 🚒 🚒 🚒

This R script pulls the City of Ottawa’s facilities dataset, filters to just the fire stations, and uses Leaflet to map them. Running analyze.R should do all you need, provided you have the dependencies installed (tidyverse, geojsonio, and leaflet).

When you run the script, it should produce a plot like this:

A plot of the fire stations in Ottawa, with a marker for each; above one marker there is a popup reading “Fire Station 32 - Leitrim”

For more information on Ottawa’s fire stations, check out the municipal website.

Woo!

About

Mapping Ottawa’s fire stations using open data and R.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%