[CODE4LIB] Opening at University of Illinois for Digital Humanities Specialist

2011-06-22 Thread Habing, Thomas Gerald
Digital Humanities Specialist Full-time Academic Professional Position University of Illinois at Urbana Champaign Library Duties and Responsibilities: The University of Illinois Library conducts a variety of activities in support of digital humanities scholarship, including creation,

[CODE4LIB] source of marc geographic code?

2011-06-22 Thread Jonathan Rochkind
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

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Kyle Banerjee
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

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Kyle Banerjee
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

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Jonathan Rochkind
Man, I figured it was there somewhere I just didn't know it. If it's really not there, can we like start a campaign to convince LC that part of maintaining the MARC vocabularies is making them available at a persistent URL, in machine-readable fashion, updated and maintained by them as

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Jonathan Rochkind
PS: Kyle, that's your own version? That's... sort of kind of machine readable. Well, not really. I can't figure out quite what's going on there, the label/value pairs are just stuffed in single, javascript string literals, seperated by newlines, or sometimes (but sometimes not) with Assigned

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Stephen Hearn
Have you looked at id.loc.gov? One of its vocabularies defines URLs for each of the MARC geographic area codes. Stephen On Wed, Jun 22, 2011 at 4:44 PM, Jonathan Rochkind rochk...@jhu.edu wrote: Can anyone remind me if there's a machine readable copy of the MARC geographic codes available at

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Kyle Banerjee
Yes -- it is something I created out of thin air. It was originally designed for catalogers who wanted a visual display to duplicate the print, and achieving adequate performance on interactive search, retrieval, and rendering on the computers/browsers at the time made me have to include all the

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Jonathan Rochkind
Aha, that's probably what I need. And now I remember Ross probably pointed that out to me before. I'm still having trouble figuring out how to get from the rdf-triples it's got there to a hash of codes (as they appear in marc records, not URIs), to labels. It seems like it in fact will be a

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Kyle Banerjee
I wasn't aware of this, but it definitely didn't exist way back when I started. You can download all the GACs in XML from that page. kyle On Wed, Jun 22, 2011 at 3:38 PM, Stephen Hearn s-h...@umn.edu wrote: Have you looked at id.loc.gov? One of its vocabularies defines URLs for each of the

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Karen Coyle
Quoting Jonathan Rochkind rochk...@jhu.edu: Can anyone remind me if there's a machine readable copy of the MARC geographic codes available at any persistent URL? Not sure how persistent, but here's Ross's version: http://marccodes.heroku.com/gacs/ I often made the point at MARBI meetings

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Tom Keays
It can be found at http://id.loc.gov/vocabulary/geographicAreas.html Look near the bottom of the page for links to the codes as RDF, N-triples, and JSON. Tom On Wed, Jun 22, 2011 at 6:38 PM, Stephen Hearn s-h...@umn.edu wrote: Have you looked at id.loc.gov? One of its vocabularies defines

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Jonathan Rochkind
It can be found at http://id.loc.gov/vocabulary/geographicAreas.html Look near the bottom of the page for links to the codes as RDF, N-triples, and JSON. Right, so like I keep saying, as far as I can tell, those files are lists of URLs, one for each code. (Or technically lists of

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Jonathan Rochkind
The result was that a few meetings later LC announced that they had coded the MARC online pages in XML, and were generating the HTML from that. I think I was mis-understood. No doubt, but man if they'd then just SHARE that XML with us at a persistent URL, and keep the structure of that XML

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Karen Coyle
Quoting Jonathan Rochkind rochk...@jhu.edu: Right, so like I keep saying, as far as I can tell, those files are lists of URLs, one for each code. (Or technically lists of RDF-triples, but where two parts of each triple is identical in every triple just saying this URL is part of the

Re: [CODE4LIB] source of marc geographic code?

2011-06-22 Thread Ross Singer
Can't you use: http://www.loc.gov/standards/codelists/gacs.xml ? It's what I used to make marccodes.heroku.com/gacs/ Although like Karen pointed out, not sure why you can't use the RDF/XML from id.loc.gov -Ross. On Wed, Jun 22, 2011 at 5:44 PM, Jonathan Rochkind rochk...@jhu.edu wrote: Can