Have you looked at id.loc.gov? One of its vocabularies defines URLs
for each of the MARC geographic area codes.
On Wed, Jun 22, 2011 at 4:44 PM, Jonathan Rochkind <[log in to unmask]> wrote:
> Can anyone remind me if there's a machine readable copy of the MARC
> geographic codes available at any persistent URL?
> They're in HTML at http://www.loc.gov/marc/geoareas/gacs_code.html . I
> actually had a script that automatically downloaded from there and "scraped"
> the HTML -- but sometime since I wrote the script, the HTML structure on the
> page changed and it broke.
> (I kind of thought that was unlikely since that HTML page itself was machine
> generated -- but I guess they changed the software that generated it.
> Certainly I knew that scraping HTML was a bad thing to rely on... which is
> why I hope LC provides this in some format less likely to change?)
Stephen Hearn, Metadata Strategist
Technical Services, University Libraries
University of Minnesota
160 Wilson Library
309 19th Avenue South
Minneapolis, MN 55455