This talk is licensed under a Creative Commons, Attribution, Share Alike license.
Presentation source: http://bzr.coffeecode.net/eg2011_authorities/
perl marc2are.pl --user admin --pass secret authorities.mrc | perl pg_loader.pl --auto are --order are | psql -U evergreen -h localhost -d evergreen
perl authority_control_fields.pl --start 1 --end 50000 perl authority_control_fields.pl --start 50001 --end 100000 perl authority_control_fields.pl --start 100001 --end 150000
/* Filter out subfields that are not controlled for this tag */ if (!control_map[source_f.tag][sf_iter.@code.toString()]) { continue; }
to:
/* Filter out everything except for subfield 0 */ if (sf_iter.@code.toString() === '0') { continue; }