Skip to content

5. Convert LCSH headings to GeoNames

Michelle Janowiecki edited this page Aug 17, 2020 · 13 revisions

Set-up

To complete this step, you need:


Run addGeoNames.py

Transformations in this script:

  • Transforms those geographic headings in columns spatial_fast and spatial_lcnaf into hierarchical string headings based on GeoNames.
    • (Maryland--Baltimore)[http://id.worldcat.org/fast/1204292] --> Baltimore, Maryland, United States
    • (Baltimore (Md.))[https://id.loc.gov/authorities/names/n79006530.html] --> Baltimore, Maryland, United States
    • This is done by finding "sameAs" references to GeoNames within the FAST authority files.