Skip to content

petelyu/Area-Neighbors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Area-Neighbors

These files list, in both long and wide formats, areas (e.g. Hospital Referral Regions) and their adjacent/neighboring areas.

General approach:

  1. Import shapefile into QGIS
  2. Convert area IDs into strings (if not already in string format)
  3. Execute Python script adapted from https://www.qgistutorials.com/en/docs/find_neighbor_polygons.html
    • Note: This creates a single new attribute that is a comma-separated list of neighboring areas
  4. Export to CSV
  5. Execute R script to clean exported CSV into long- and wide-form data sets.

About

Data sets listing areas and their adjacent areas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors