This code runs the map app for the Parking Reform Network.
The app is built in Shiny, so you need to install
- R
- R Libraries: dplyr, fontawesome, leaflet, R.rsp, shiny, shinyjs, stringr, tidygeocoder
- Copy the
initial_tidied_map_data.csvin the same folder and call ittidied_map_data.csv. This is a snapshot of the Parking Reform Network data. - If you want the most up to date data, run the
generate_map_data.Rscript. Generate the most up to date data by runningparking_reform.Rwhich fetches new data - The local path may need to be changed to work on your computer. The intent is to overwrite the
tidied_map_data.csvfile. - Run
app.Rto launch the app.
- To generate static pages for each city, run the
create_city_detail_pages.Rscript. - Again local paths may need to changed. The goal is to output files into the
parking_map/city_detail/folder.
- Brad Baker @bradmbak
- Alireza Karduni
- Update population transparency scales to make large cities "pop" and have smaller cities fade into the background. Scales found in
encoding_logic.R. - Make sidebar menu collapseable.
- Update city markers to be circles from current teardrop shape.
- Experiment to see if marker size is a better indicator of size than transparency.
- Experiment with both marker size and marker transparency to see if that better conveys transparency.
- Update city icons to custom icons. (Currently waiting on the icons)
- Update badges to custom badges from the "new" and "!!!" badges. (currently waiting on the badges)
- Make PRN and StrongTown logos the same size
- Clean up design on static pages generated from
create_city_detail_pages.R.
- set up cron job to pull data once per day using
generate_map_data.R. ensure path is set up correctly. - debug why city/state isn't showing up correctly on detail pane click
- any path changes we want to do for the map app or city pages.