Skip to content

Scripts manipulating bibs to properly roll up in Vega

License

Notifications You must be signed in to change notification settings

BookOps-CAT/vega-rollups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vega-rollups

Scripts manipulating bibs to properly roll up in Vega

Running the script

$ python manipulate.py [path to src marcfile] [path to output file]

The script produces three files:

  • processed marcfile - MARC21 recods successfuly processed with modified 240
  • processed.csv - a list of bib #s, 245s, and new 240s output the marc file
  • skipped.csv - a list of bib #s and 245s skipped by script

Strategy

  • consider only bibs that have $n in the 245 field but no equivalent in the 240
  • consider only print materials (BIB MAT "a")
  • consider only branch materials (910 $a BL)
  • ignore complex cases:
    • presence of other than $a$n$l subfields in the original 240
    • no digits in $n of the 245 (example: Book two, Volume IX, etc)
    • typos that concatenate words with digits, example: Book2
  • will use a special load table ("ut") that modifies only a selected tag
    • records used will have only a minimal number of tags: leader, 008 (?), 240, 245, 907, 949 (command line with load table to be used instruction)

About

Scripts manipulating bibs to properly roll up in Vega

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages