1 The following table lists the data sets we have collected for testing purposes.
3 ^ File name ^ Format ^ Encoding ^ Source system ^ Description ^
4 | FSL.marc | MARC21 | UTF8 | Aleph | Armenian and Cyrillic scripts, collected from the Fundamental Science Library in Yerevan, Armenia |
5 | oss.marc | MARC21 | MARC8 | Unicorn GL3.1 | |
6 | lul_fre_100.marc | MARC21 | MARC8 | Unicorn GL3.1 | 100 records, French, pre-1923 |
7 | lul_fre_500.marc | MARC21 | MARC8 | Unicorn GL3.1 | 500 records, French, pre-1923 |
8 | jazz_1k.marc | MARC21 | MARC8 | Unicorn GL3.1 | 1000 records |
9 | map_data.marc | MARC21 | UTF8 | Voyager (LoC) | 3 records with some geospatial metadata |
10 | music_5k.marc | MARC21 | MARC8 | Unicorn GL3.1 | 5000 records |
11 | hebrew.marc | MARC21 | MARC8 | III | Hebrew scripts, 25 records |
12 | nepali.marc | MARC21 | UTF8 | | Nepali scripts, 98 records, dual 245 and 100 fields (one for Nepali, one for phoneticization |
13 | serials_marc21.xml| MARC21XML | UTF8 | | A small set of MARC21 bibliographic records |
14 | serials_mfhd.xml | MARC21XML | UTF8 | | MFHD records that map to the serials_marc21.xml records |
17 =====How to load the test MFHD records=====
19 - First load the MARC21 records:
20 - PERL5LIB=/openils/lib/perl5/ perl ../../src/extras/import/marc2bre.pl --marctype XML --start 1 --idfield 901 --idsubfield a serials_marc21.xml | perl ../../src/extras/import/direct_ingest.pl | perl ../../src/extras/import/pg_loader.pl -or bre -or mrd -or mfr -or mtfe -or mafe -or msfe -or mkfe -or msefe -a mrd -a mfr -a mtfe -a mafe -a msfe -a mkfe -a msefe | psql -U evergreen -h localhost
22 - Then load the MFHD records
23 - PERL5LIB=/openils/lib/perl5/ perl ../../src/extras/import/marc2sre.pl --marctype XML --password demo123 serials_mfhd.xml | perl ../../src/extras/import/direct_ingest.pl --serial | perl ../../src/extras/import/pg_loader.pl -or sre -or sfr -a sfr > mfhd21.sql