cisagov / cisagov/XFD

Update cities.py and counties.py to Use USGS GNIS Data

Open
#94 0 comments 0 reactions 0 assignees View on GitHub
improvement python
Dominant language
Python
Stars
30
Forks
22
Avg merge
1d 21h
Merged PRs (30d)
22

Description

# 💡 Summary #

Use city and county data from [USGS](https://www.usgs.gov/us-board-on-geographic-names/download-gnis-data) instead of Wikipedia.
See [CyHy example here](https://github.com/cisagov/cyhy-core/blob/develop/var/load_places.sh).

## Motivation and context ##
USGS is an official source for this data.
See https://github.com/cisagov/XFD/pull/82#discussion_r1529095617

Contributor guide

Open the contributing guide

Research direction

Start by reading cities.py and counties.py, then compare their current Wikipedia data handling with the CyHy example in var/load_places.sh. Review the USGS GNIS download format and determine how it maps to the existing city and county data. Done means both files use USGS data instead of Wikipedia while preserving the expected outputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.