Re: source of marc geographic code?

From: Kyle Banerjee <banerjek_at_nyob>
Date: Wed, 22 Jun 2011 15:04:10 -0700
To: CODE4LIB_at_LISTSERV.ND.EDU
And yes, I realize the structure of the data in the file referenced below is
idiotic even if it is easier to parse than HTML.

But this was part of the first javascript program I ever wrote, and that was
back in 1997 when getting real time interaction with browsers was harder
(and I never bothered to rewrite).

kyle

On Wed, Jun 22, 2011 at 2:57 PM, Kyle Banerjee <banerjek_at_uoregon.edu> wrote:

> I went through a process similar to what you describe sometime back for a
> tool I made (i.e. I could find no easily downloadable info). You can
> download something that will be easier to parse from
>
> http://calculate.alptown.com/gac.js
>
> It's probably not 100% accurate as I haven't downloaded for quite awhile.
> But catalogers have me correct errors they discover and there are about 800
> unique visitors per day so I assume they notice most things.
>
> It would be nice if this kind of data could be provided in a
> straightforward format.
>
> kyle
>
>
>
>
> On Wed, Jun 22, 2011 at 2:44 PM, Jonathan Rochkind <rochkind_at_jhu.edu>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<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?)
>>
>
>
>
> --
> ----------------------------------------------------------
> Kyle Banerjee
> Digital Services Program Manager
> Orbis Cascade Alliance
> banerjek_at_uoregon.edu / 503.877.9773
>



-- 
----------------------------------------------------------
Kyle Banerjee
Digital Services Program Manager
Orbis Cascade Alliance
banerjek_at_uoregon.edu / 503.877.9773
Received on Wed Jun 22 2011 - 18:10:04 EDT