Skip to content

Benneloui/Spatial_Distribution_of_Council_Decisions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OParl Augsburg – Spatial Analysis

Pipeline to fetch Augsburg council papers (OParl), extract location mentions via fuzzy matching, and visualize them on an interactive map.

Key Output

https://benneloui.github.io/Spatial_Distribution_of_Council_Decisions/

Quickstart (R)

  1. Install required R packages (one time):
install.packages(c("tidyverse", "sf", "leaflet", "knitr", "httr", "jsonlite", "dplyr", "pdftools", "yaml", "htmlwidgets", "stringdist"))
  1. Run the full pipeline (from project root):
Rscript analysis/run_all.r

Inputs & Config

  • config.yaml: city/API settings and limits (max papers/pages, etc.).
  • Data folders under data/ are created/used by the pipeline (PDFs, gazetteer, extracted locations).

Scripts (R)

  • R/01_gazetteer.r: build street gazetteer from OSM (Overpass).
  • R/02_fetch_papers.r: download OParl papers + metadata.
  • R/03_extract_locations.r: extract PDF text and fuzzy-match to streets.
  • R/04_visualize.r: create interactive map (85%+ match filter).
  • analysis/run_all.r: orchestrates all steps.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published