Icon

Geospatial analysis of retailer reduction

Geodata-based analysis of the decline in the number of pharmacies with KNIME

Geodata-based analysis of the decline in the number of pharmacies with KNIME

Annotations and comments
  • Step 1: Read in data, preprocess and (spatially) join
  • Step 2: Calculate distances between all pharmacies (alternatively with Haversine Distance after Cross Joiner)
  • Step 3: Form key figures based on the spatial location and distances between pharmacies
  • Step 4: Multi-layer geo-visualization with Kepler.gl Geoview, preparing for Foursquare Studio
  • Filter relevant columns for geo-visualization
  • Only place_id, lat/long and business status
  • Only area type, place_id, and business status
  • Rename geometry to Municipality_geometry
  • Rename geometry to Pharmacy_geometry
  • BBSR_Spatial_Organisation_2022.xlsx
  • Pharmacies_BaWü_remaining_closed.xlsx
  • LGL_BaWü_Admin_Boundaries.geojson
  • ESRI WorldStreetMa
  • Distance to nearest pharmacy for any pharmacy (minimum distance)
  • Mean minimum distances for remaining & closed pharmacies
  • Count nr. of pharmacies in radius for any pharmacy
  • Join with group totals
  • Calcuulate relative values
  • Impute missing values with previous value method
  • Bin distance to nearest pharmacy
  • Bin nr. of pharmacies
  • Groups: Business status Pivots: Area type Aggr.: Count Place_id
  • Groups: Business status Pivots: Binned nr. of pharmac. Aggr.: Count Place_id
  • Groups: Business status Pivots: Binned distances Aggr.: Count Place_id
  • Projection to EPSG 4326
  • Only distances >5m
  • Distance <= 1km
  • Join pharmacies with municipalities
  • Remove leading zeroes in Municipality_code

Nodes

Extensions

Links