These files list, in both long and wide formats, areas (e.g. Hospital Referral Regions) and their adjacent/neighboring areas.
General approach:
- Import shapefile into QGIS
- Convert area IDs into strings (if not already in string format)
- 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
- Export to CSV
- Execute R script to clean exported CSV into long- and wide-form data sets.