berkeley_library-marc 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/build.yml +18 -0
  3. data/.gitignore +388 -0
  4. data/.idea/inspectionProfiles/Project_Default.xml +20 -0
  5. data/.idea/marc.iml +101 -0
  6. data/.idea/misc.xml +4 -0
  7. data/.idea/modules.xml +8 -0
  8. data/.idea/vcs.xml +6 -0
  9. data/.rubocop.yml +334 -0
  10. data/.ruby-version +1 -0
  11. data/.simplecov +8 -0
  12. data/.yardopts +1 -0
  13. data/CHANGES.md +12 -0
  14. data/Dockerfile +57 -0
  15. data/Gemfile +3 -0
  16. data/Jenkinsfile +18 -0
  17. data/LICENSE.md +21 -0
  18. data/README.md +4 -0
  19. data/Rakefile +20 -0
  20. data/berkeley_library-marc.gemspec +42 -0
  21. data/docker-compose.yml +15 -0
  22. data/lib/.rubocop.yml +6 -0
  23. data/lib/berkeley_library/marc.rb +3 -0
  24. data/lib/berkeley_library/marc/field_info.rb +1 -0
  25. data/lib/berkeley_library/marc/field_info/ctrl_fields/data/ctrl_fields_standard.txt +2143 -0
  26. data/lib/berkeley_library/marc/field_info/leader/data/leader_standard.txt +87 -0
  27. data/lib/berkeley_library/marc/field_info/var_fields.rb +46 -0
  28. data/lib/berkeley_library/marc/field_info/var_fields/data.rb +4 -0
  29. data/lib/berkeley_library/marc/field_info/var_fields/data/mapping-orig.tsv +265 -0
  30. data/lib/berkeley_library/marc/field_info/var_fields/data/var_fields_berkeley_9xx.txt +53 -0
  31. data/lib/berkeley_library/marc/field_info/var_fields/data/var_fields_berkeley_9xx_parsed.rb +51 -0
  32. data/lib/berkeley_library/marc/field_info/var_fields/data/var_fields_standard.txt +5458 -0
  33. data/lib/berkeley_library/marc/field_info/var_fields/data/var_fields_standard_parsed.rb +6577 -0
  34. data/lib/berkeley_library/marc/field_info/var_fields/data/var_fields_tind_reserved.txt +44 -0
  35. data/lib/berkeley_library/marc/field_info/var_fields/data/var_fields_tind_reserved_parsed.rb +30 -0
  36. data/lib/berkeley_library/marc/field_info/var_fields/data/var_fields_ucblit_tind.txt +105 -0
  37. data/lib/berkeley_library/marc/field_info/var_fields/data/var_fields_ucblit_tind_parsed.rb +114 -0
  38. data/lib/berkeley_library/marc/field_info/var_fields/ind_def.rb +39 -0
  39. data/lib/berkeley_library/marc/field_info/var_fields/ind_val_def.rb +27 -0
  40. data/lib/berkeley_library/marc/field_info/var_fields/instrument_or_voices_code.rb +26 -0
  41. data/lib/berkeley_library/marc/field_info/var_fields/obsolescible.rb +55 -0
  42. data/lib/berkeley_library/marc/field_info/var_fields/section.rb +50 -0
  43. data/lib/berkeley_library/marc/field_info/var_fields/subfield_def.rb +50 -0
  44. data/lib/berkeley_library/marc/field_info/var_fields/subfield_val.rb +24 -0
  45. data/lib/berkeley_library/marc/field_info/var_fields/var_field_def.rb +62 -0
  46. data/lib/berkeley_library/marc/field_info/var_fields/var_field_list.rb +43 -0
  47. data/lib/berkeley_library/marc/field_info/var_fields/var_field_parser.rb +136 -0
  48. data/lib/berkeley_library/marc/field_info/var_fields/var_field_transform.rb +160 -0
  49. data/lib/berkeley_library/marc/module_info.rb +14 -0
  50. data/lib/marc_extensions.rb +1 -0
  51. data/lib/marc_extensions/data_field.rb +29 -0
  52. data/lib/marc_extensions/field_map.rb +63 -0
  53. data/lib/marc_extensions/record.rb +100 -0
  54. data/lib/marc_extensions/subfield.rb +21 -0
  55. data/lib/marc_extensions/xml_reader.rb +19 -0
  56. data/rakelib/bundle.rake +8 -0
  57. data/rakelib/coverage.rake +11 -0
  58. data/rakelib/gem.rake +54 -0
  59. data/rakelib/rubocop.rake +18 -0
  60. data/rakelib/spec.rake +2 -0
  61. data/spec/.rubocop.yml +37 -0
  62. data/spec/berkeley_library/marc/field_info/var_fields/var_field_def_spec.rb +26 -0
  63. data/spec/berkeley_library/marc/field_info/var_fields/var_field_parser_spec.rb +596 -0
  64. data/spec/berkeley_library/marc/field_info/var_fields/var_field_transform_spec.rb +173 -0
  65. data/spec/berkeley_library/marc/field_info/var_fields_spec.rb +112 -0
  66. data/spec/data/field_info/vf_046.txt +32 -0
  67. data/spec/data/field_info/vf_048.txt +112 -0
  68. data/spec/data/record-187888.xml +78 -0
  69. data/spec/marc_extensions/data_field_spec.rb +13 -0
  70. data/spec/marc_extensions/record_spec.rb +211 -0
  71. data/spec/spec_helper.rb +27 -0
  72. metadata +354 -0
@@ -0,0 +1,87 @@
1
+ # MARC 21 Format for Bibliographic Data Field List
2
+ # Adapted from https://www.loc.gov/marc/bibliographic/ecbdlist.html
3
+ # Retrieved 2021-01-13
4
+
5
+ --Leader and Directory--
6
+ LEADER
7
+ Character Positions
8
+ 00-04 - Logical record length
9
+ 05 - Record status
10
+ a - Increase in encoding level
11
+ c - Corrected or revised
12
+ d - Deleted
13
+ n - New
14
+ p - Increase in encoding level from prepublication
15
+ 06 - Type of record
16
+ a - Language material
17
+ b - Archival and manuscripts control [OBSOLETE]
18
+ c - Notated music
19
+ d - Manuscript notated music
20
+ e - Cartographic material
21
+ f - Manuscript cartographic material
22
+ g - Projected medium
23
+ h - Microform publications [OBSOLETE]
24
+ i - Nonmusical sound recording
25
+ j - Musical sound recording
26
+ k - Two-dimensional nonprojectable graphic
27
+ m - Computer file
28
+ n - Special instructional material [OBSOLETE]
29
+ o - Kit
30
+ p - Mixed material
31
+ r - Three-dimensional artifact or naturally occurring object
32
+ t - Manuscript language material
33
+ 07 - Bibliographic level
34
+ a - Monographic component part
35
+ b - Serial component part
36
+ c - Collection
37
+ d - Subunit
38
+ i - Integrating resource
39
+ m - Monograph/item
40
+ s - Serial
41
+ 08 - Type of control
42
+ # - No specific type
43
+ a - Archival
44
+ 09 - Character coding scheme
45
+ # - MARC-8
46
+ a - UCS/Unicode
47
+ 10 - Indicator count
48
+ 11 - Subfield code count
49
+ 12-16 - Base address of data
50
+ 17 - Encoding level
51
+ # - Full level
52
+ 1 - Full level, material not examined
53
+ 2 - Less-than-full level, material not examined
54
+ 3 - Abbreviated level
55
+ 4 - Core level
56
+ 5 - Partial (preliminary) level
57
+ 7 - Minimal level
58
+ 8 - Prepublication level
59
+ u - Unknown
60
+ z - Not applicable
61
+ 18 - Descriptive cataloging form
62
+ # - Non-ISBD
63
+ a - AACR 2
64
+ c - ISBD punctuation omitted
65
+ i - ISBD punctuation included
66
+ n - Non-ISBD punctuation omitted
67
+ p - Partial ISBD (BK) [OBSOLETE]
68
+ r - Provisional (VM MP MU) [OBSOLETE]
69
+ u - Unknown
70
+ 19 - Multipart resource record level
71
+ # - Not specified or not applicable
72
+ a - Set
73
+ b - Part with independent title
74
+ c - Part with dependent title
75
+ 20-23 - Entry map
76
+ 20 - Length of the length-of-field portion
77
+ 21 - Length of the starting-character-position portion
78
+ 22 - Length of the implementation-defined portion
79
+ 23 - Undefined Entry map character position
80
+
81
+ DIRECTORY
82
+ Character Positions
83
+ 00-02 - Tag
84
+ 03-06 - Field length
85
+ 07-11 - Starting character position
86
+
87
+
@@ -0,0 +1,46 @@
1
+ require 'berkeley_library/marc/field_info/var_fields/var_field_transform'
2
+ require 'berkeley_library/marc/field_info/var_fields/data'
3
+
4
+ module BerkeleyLibrary
5
+ module Marc
6
+ module FieldInfo
7
+ module VarFields
8
+
9
+ DATA_DIR = File.expand_path('var_fields/data', __dir__)
10
+ PATH_STANDARD = File.join(DATA_DIR, 'var_fields_standard.txt')
11
+
12
+ class << self
13
+
14
+ def standard(obsolete: false)
15
+ @standard_all ||= VarFieldTransform.new.apply(BerkeleyLibrary::Marc::FieldInfo::VarFields::STANDARD_PARSED)
16
+ return @standard_all if obsolete
17
+
18
+ @standard ||= @standard_all.reject_obsoletes
19
+ end
20
+
21
+ def berkeley_9xx(obsolete: false)
22
+ @berkeley_9xx_all ||= VarFieldTransform.new.apply(BerkeleyLibrary::Marc::FieldInfo::VarFields::BERKELEY_9XX_PARSED)
23
+ return @berkeley_9xx_all if obsolete
24
+
25
+ @berkeley_9xx ||= @berkeley_9xx_all.reject_obsoletes
26
+ end
27
+
28
+ # TODO: get these working
29
+ # def tind_reserved(obsolete: false)
30
+ # @tind_reserved_all ||= VarFieldTransform.new.apply(BerkeleyLibrary::Marc::FieldInfo::VarFields::TIND_RESERVED_PARSED)
31
+ # return @tind_reserved_all if obsolete
32
+ #
33
+ # @tind_reserved ||= @tind_reserved_all.reject_obsoletes
34
+ # end
35
+ #
36
+ # def berkeley_tind(obsolete: false)
37
+ # @berkeley_tind_all ||= VarFieldTransform.new.apply(BerkeleyLibrary::Marc::FieldInfo::VarFields::BERKELEY_TIND_PARSED)
38
+ # return @berkeley_tind_all if obsolete
39
+ #
40
+ # @berkeley_tind ||= @berkeley_tind_all.reject_obsoletes
41
+ # end
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,4 @@
1
+ require 'berkeley_library/marc/field_info/var_fields/data/var_fields_standard_parsed'
2
+ require 'berkeley_library/marc/field_info/var_fields/data/var_fields_berkeley_9xx_parsed'
3
+ require 'berkeley_library/marc/field_info/var_fields/data/var_fields_tind_reserved_parsed'
4
+ require 'berkeley_library/marc/field_info/var_fields/data/var_fields_ucblit_tind_parsed'
@@ -0,0 +1,265 @@
1
+ Field Retain? Incoming Subfields TIND Subfields Label MARC Definition Instructions Comments / Details
2
+ • All TIND fields should have both indicators set to blank, except where specially noted in column 1. • Incoming subfields (column 3) do not indicate a specific order. Subfields should be processed in the order in which they appear in the MARC record. • TIND subfields (column 4) do indicate an order. Add or combine subfields using this order
3
+ LDR BibLvl move data, drop byte 07 Bibliographic level Move to 903__b
4
+ LDR format move data, drop byte 06 Type of record Translate to 336__a. Use mapping on 2nd tab of MARC Fields for TIND 20190208
5
+ 001 move data, drop OCLC Number Delete 001 but put OCLC number into 901__o See instructions for 901
6
+ 003 drop Control Number Identifier
7
+ 005 drop Date and Time of Latest Transaction
8
+ 006 drop Additional Material Characteristics
9
+ 007 drop Physical Description Fixed Field
10
+ 008 date1, date2 move data, drop bytes 07-10, 11-14 Fixed Fields Delete 008 but preserve dates in 269__a,b if no more specific dates are available. Use only 4-digit years - drop other date formats, e.g., 19uu, etc. Specific dates are the dates of an issue of a periodical, date of a specific photo, etc. The more specific date should be used in 260/269. Use dates from 008 as a date of "last resort". 269 is highly desirable but not required when date is unknown
11
+ 008 lang move data, drop bytes 35-37 Language code Move to 041__a unless 041 already present
12
+ 009 drop Local Field
13
+ 010 drop Library of Congress Control Number
14
+ 013 drop Patent Control Information
15
+ 015 drop National Bibliography Number
16
+ 016 drop National Bibliographic Agency Control Number
17
+ 017 drop Copyright or Legal Deposit Number
18
+ 018 drop Copyright Article-Fee Code
19
+ 020 drop International Standard Book Number
20
+ 022 drop International Standard Serial Number
21
+ 02470 drop Obsolete. Do not use Call numbers and identifiers now go in 02480_a
22
+ 02480 drop a Local Identifier/Call number
23
+ 025 drop Overseas Acquisition Number
24
+ 026 drop Fingerprint Identifier
25
+ 027 drop Standard Technical Report Number
26
+ 028 drop Publisher or Distributor Number
27
+ 030 drop CODEN Designation
28
+ 031 drop Musical Incipits Information
29
+ 032 drop Postal Registration Number
30
+ 033 drop Date/Time and Place of an Event
31
+ 034 drop Coded Cartographic Mathematical Data
32
+ 035 drop System Control Number
33
+ 036 drop Original Study Number for Computer Data Files
34
+ 037 drop Source of Acquisition
35
+ 038 drop Record Content Licensor
36
+ 040 drop Cataloging Source
37
+ 041__a retain a a Language Code
38
+ 042 drop Authentication Code
39
+ 043 drop Geographic Area Code
40
+ 044 drop Country of Publishing/Producing Entity Code
41
+ 045 drop Time Period of Content
42
+ 046 drop Special Coded Dates
43
+ 047 drop Form of Musical Composition Code
44
+ 048 drop Number of Musical Instruments or Voices Codes
45
+ 050 drop Library of Congress Call Number
46
+ 051 drop Library of Congress Copy, Issue, Offprint Statement
47
+ 052 drop Geographic Classification
48
+ 055 drop Classification Numbers Assigned in Canada
49
+ 060 drop National Library of Medicine Call Number
50
+ 061 drop National Library of Medicine Copy Statement
51
+ 066 drop Character Sets Present
52
+ 070 drop National Agricultural Library Call Number
53
+ 071 drop National Agricultural Library Copy Statement
54
+ 072 drop Subject Category Code
55
+ 074 drop GPO Item Number
56
+ 080 drop Universal Decimal Classification Number
57
+ 082 drop Dewey Decimal Classification Number
58
+ 083 drop Additional Dewey Decimal Classification Number
59
+ 084 drop Other Classification Number
60
+ 085 drop Synthesized Classification Number Components
61
+ 086 drop Government Document Classification Number
62
+ 088 drop Report Number
63
+ 090 drop Local call number
64
+ 100 move data, drop 6, a, b, c, d, e, q Personal Name Move data to 7001_ See instructions for 7001
65
+ 110 move data, drop 6, a, b, c, d, e Corporate Name Move data to 7102_ See instructions for 7102_ Note: $b is often repeated
66
+ 111 move data, drop 6, a, c, d, e, f, n, p, t Meeting Name Move data to 711__ See instructions for 711__
67
+ 130 drop Uniform Title This field is not useful for TIND
68
+ 210 drop Abbreviated Title
69
+ 220 drop Key Title
70
+ 240 drop Uniform title
71
+ 242 move data, drop 6, a, b, p, n Translation of Title by Cataloging Agency Move data to 246__
72
+ 230 drop Collective Uniform Title
73
+ 245__ retain 6, a, b, f, p, n, k 6, a, b, p Title Combine$n and $p into a single $p (part/vol/issue, etc). Append $f and $k to $b if it exists, else create a new $b and put it there. Keep 6 as is. Use $p for vol/date/part, etc. designations, e.g., specific volumes, issue dates, etc.
74
+ 245__c move data (see note) b Interviewer/Interviewee Append $c to end of $b or add to new $b FOR ORAL HISTORIES ONLY
75
+ 246__ retain 6, a, b, p, n 6, a Varying Form of Title Combine all subfields into $a
76
+ 247 drop Former Title
77
+ 250__ retain a a Edition Statement
78
+ 254 drop Musical Presentation Statement
79
+ 255__ retain a, b, c a, b, c Cartographic Mathematical Data
80
+ 256 drop Computer File Characteristics
81
+ 257 drop Country of Producing Entity
82
+ 258 drop Philatelic Issue Data
83
+ 260__ retain 6, a, b, c 6, a, b, c Publication, Distribution, Etc Delete all square brackets. Delete :;, when occuring at the end of a subfield
84
+ 263 drop Projected Publication Date
85
+ 264 move data, drop 6, a, b, c Publication, Distribution, Etc. Move data to 260__ 6, a, b, and c unless 260 already present When 260 and 264 are present, use 260, drop 264. When mulitple 264s are present, use the first one and drop the rest.
86
+ 269__ drop a, b TIND internal normalized date E.g., 2019-06-13, or 2019-06 (month) or just 2019 if that's all you know is the year When possible use the most specific date as possible when readily available. A year can be used from the Date 008 fixed field, or 260/264 $c or other source of information such as a landing page or information in the title. Use your judgement about when these specific dates are worth the effort, e.g., long newspaper or journal runs are most useful when users can sort down to the day level.
87
+ 270 drop Address
88
+ 300__ retain 3, a, b, c a, b, c Physical Description Delete all square brackets. Delete :;, when occuring at the end of a subfield. Capitalize first letter of $3 if necessary and insert at the beginning of $a
89
+ 307 drop Hours, etc.
90
+ 310 drop Current Publication Frequency
91
+ 321 drop Former Publication Frequency
92
+ 336 drop Content Type
93
+ 336__a drop V2F_PUB_TYPE Assign type of digital resource (Image, Video, etc.) from controlled list
94
+ 337 drop Media Type
95
+ 338 drop Carrier Type
96
+ 340 drop Physical Medium
97
+ 341 drop Accessibility Content
98
+ 342 drop Geospatial Reference Data
99
+ 342_0c drop Sheet Name Record here Sheet Name only for map collections
100
+ 342_0d drop Sheet Number Record here Sheet Number only for map collections
101
+ 343 drop Planar Coordinate Data
102
+ 344 drop Sound Characteristics
103
+ 345 drop Projection Characteristics of Moving Image
104
+ 346 drop Video Characteristics
105
+ 347 drop Digital File Characteristics
106
+ 348 drop Format of Notated Music
107
+ 351 move data, drop a, b Organization and Arrangement Combine $a and $b and move data to 505__a
108
+ 352 drop Digital Graphic Representation
109
+ 355 drop Security Classification Control
110
+ 357 drop Originator Dissemination Control
111
+ 362 drop Dates of Publication and/or Sequential Designation
112
+ 363 drop Normalized Date and Sequential Designation
113
+ 365 drop Trade Price
114
+ 366 drop Trade Availability Information
115
+ 370 drop Associated Place
116
+ 377 drop Associated Language
117
+ 380 drop Form of Work
118
+ 381 drop Other Distinguishing Characteristics of Work
119
+ 382 drop Medium of Performance
120
+ 383 drop Numeric Designation of Musical Work
121
+ 384 drop Key
122
+ 385 drop Audience Characteristics
123
+ 386 drop Creator/Contributor Characteristics
124
+ 388 drop Time Period of Creation
125
+ 490__ retain a, v a Series Statement Combine into $a
126
+ 500__ retain a a, 3 General Note Append $3 when more information about the type of note is desired For note fields coming in from METS, assign to $3 the value of the @type attribute when the field maps to 500.
127
+ 501 drop With Note
128
+ 502__ retain a, b, c, d, g, o a Dissertation Note Combine into single $a
129
+ 504 drop Bibliography, etc. Note
130
+ 505__ retain a, g, r, t a Formatted Contents Note Combine into single $a
131
+ 506 move data, drop a Restrictions on Access Note Move data to 542__f
132
+ 507 move data, drop a a Scale Note for Graphic Material Move data to 255__a unless 255__a already present.
133
+ 508 drop Creation/Production Credits Note
134
+ 510 drop Citation/References Note
135
+ 511 drop Participant or Performer Note
136
+ 513 drop Type of Report and Period Covered Note
137
+ 514 drop Data Quality Note
138
+ 515 drop Numbering Peculiarities Note
139
+ 516 drop Type of Computer File or Data Note
140
+ 518 drop Date/Time and Place of an Event Note
141
+ 520__ retain a a Summary, etc.
142
+ 521 drop Target Audience Note
143
+ 522__ retain a a Geographic Coverage Note
144
+ 524__ retain a a Preferred Citation
145
+ 525 drop Supplement Note
146
+ 526 drop Study Program Information Note
147
+ 530 drop Additional Physical Form available Note
148
+ 532 drop Accessibility Note
149
+ 533 drop Reproduction Note
150
+ 534 drop Original Version Note
151
+ 535 drop Location of Originals/Duplicates Note
152
+ 536__ retain a a Funding Information Note note (@type="funding")
153
+ 538 drop System Details Note
154
+ 540__ retain a, b a Terms Governing Use and Reproduction Note Permission to publish/print etc.
155
+ 541__ retain c, a, d a Immediate Source of Acquisition Note
156
+ 542__ retain f f Restrictions Copyright statements
157
+ 544 drop Location of Other Archival Materials Note
158
+ 545__ retain a a Biographical or Historical Data
159
+ 546__ retain a a Language Note
160
+ 547 drop Former Title Complexity Note
161
+ 550 drop Issuing Body Note
162
+ 552 drop Entity and Attribute Information Note
163
+ 555 drop Cumulative Index/Finding Aids Note
164
+ 556 drop Information About Documentation Note
165
+ 561 drop Ownership and Custodial History
166
+ 562 drop Copy and Version Identification Note
167
+ 563 drop Binding Information
168
+ 565 drop Case File Characteristics Note
169
+ 567 drop Methodology Note
170
+ 580 drop Linking Entry Complexity Note
171
+ 581 drop Publications About Described Materials Note
172
+ 583 drop Action Note
173
+ 584 drop Accumulation and Frequency of Use Note
174
+ 585 drop Exhibitions Note
175
+ 586 drop Awards Note
176
+ 588 drop Source of Description, Etc. Note
177
+ 590 drop Local Note
178
+ 600__ retain a, b, c, d, f, j, k, l, m, n, o, p, q, r, s, t, v, x, y, z a Subject Personal Name Combine subfields into $a. Supply ISBD punctuation Replace $x, $y, $z, $v with " -- ". Replace all other subfields with a space
179
+ 610__ retain a, b, c, d, f, j, k, l, m, n, o, p, q, r, s, t, v, x, y, z a Subject Corporate Name Combine subfields into $a. Supply ISBD punctuation Replace $x, $y, $z, $v with " -- ". Replace all other subfields with a space
180
+ 611__ retain a, b, c, d, f, j, k, l, m, n, o, p, q, r, s, t, v, x, y, z a Subject Meeting Name Combine subfields into $a. Supply ISBD punctuation Replace $x, $y, $z, $v with " -- ". Replace all other subfields with a space
181
+ 630__ retain a, b, c, d, f, j, k, l, m, n, o, p, q, r, s, t, v, x, y, z a Subject Uniform Title Combine subfields into $a. Supply ISBD punctuation Replace $x, $y, $z, $v with " -- ". Replace all other subfields with a space
182
+ 647 drop Subject Named Event
183
+ 648 drop Subject Chronological Term
184
+ 650__ retain a, b, c, v, x, y, z a Subject Topical Term Combine subfields into $a. Supply ISBD punctuation Replace $x, $y, $z, $v with " -- ". Replace all other subfields with a space
185
+ 651__ retain a, v, x, y, z a Subject Geographic Name Combine subfields into $a. Supply ISBD punctuation Replace $x, $y, $z, $v with " -- ". Replace all other subfields with a space
186
+ 653 drop Index Term - Uncontrolled
187
+ 654 drop Faceted Topical Terms
188
+ 655__ retain a, v, x, y, z, 2 a, 2 Genre/Form Combine subfields a,v,x,y,z into $a. Supply ISBD punctuation Replace $x, $y, $z, $v with " -- ".
189
+ 656 drop Occupation
190
+ 657 drop Function
191
+ 658 drop Curriculum Objective
192
+ 662 drop Hierarchical Place Name
193
+ 69X drop Local Subject Access Fields
194
+ 7001_ retain 6, a, b, c, d, e, q 6, a, e Personal Name Combine subfields a, b, c, d into $a. Retain subfield e in $e
195
+ 7102_ retain 6, a, b, e 6, a, e Corporate Name Combine subfields a, b into $a. Retain subfield e in $e Note: $b is often repeated
196
+ 711__ retain 6, a, c, d, e, f, n, p, t 6, a, e Meeting Name Combine subfields into $a.
197
+ 720 move data, drop a, e Added Entry-Uncontrolled Name Move data to 7001_
198
+ 730 drop Uniform Title
199
+ 740 drop Added Entry–Uncontrolled Related/Analytical Title
200
+ 747 drop Named Event
201
+ 748 drop Chronological Term
202
+ 750 drop Topical Term
203
+ 751 drop Geographic Name
204
+ 752 move data, drop a, b, c, d, f, g Hierarchical Place Name Move data to 651__a Replace subfields with " -- "
205
+ 753 drop System Details Access to Computer Files
206
+ 754 drop Taxonomic Identification
207
+ 755 drop Genre/Form Term
208
+ 758 drop Resource Identifier
209
+ 760 drop Main Series Entry (OCLC)
210
+ 762 drop Medium of Performance Term
211
+ 765 drop Original Language Entry
212
+ 767 drop Translation Entry
213
+ 770 drop Supplement/Special Issue Entry
214
+ 772 drop Supplement Parent Entry
215
+ 773__ retain t, j, k, o t, j, k, o Host Item Entry
216
+ 774 drop Constituent Unit Entry
217
+ 775 drop Other Edition Entry
218
+ 776 drop Additional Physical Form
219
+ 777 drop Issued With Entry
220
+ 778 drop Other Edition Entry
221
+ 780 drop Preceding Entry
222
+ 781 drop Subdivision Linking Entry - Geographic Subdivision
223
+ 782 drop Subdivision Linking Entry - Chronological Subdivision
224
+ 785 drop Subdivision Linking Entry - Form Subdivision
225
+ 786 drop Subdivision Linking Entry - Data Source Entry
226
+ 787 drop Subdivision Linking Entry - Other Relationship Entry
227
+ 788 drop Subdivision Linking Entry - Complex Linking Entry Data
228
+ 799 drop Local "hook" for batch loads
229
+ 800 drop Series APersonal Name
230
+ 810 drop Series Corporate Name
231
+ 811 drop Series Meeting Name
232
+ 830 drop Series Added Entry
233
+ 851 drop Physical Location This is now added from column in spreadsheet
234
+ 852__ drop Location /Archive/Repository This is now added from column in spreadsheet
235
+ 856 drop Electronic Location and Access Use for our own web links
236
+ 880__$6245 retain and copy 6, a, b, p, n 6, a, b, p Non-Roman Scripts Process/combine subfields like for 245. Then copy to 912 without $6 Native treatment of 880 coming in a future enhancement. Retain for that update but for now copy to 912
237
+ 880__$6260 retain and copy 6, a, b, c 6, a, b, c Non-Roman Scripts Process/combine subfields like for 260. Then copy to 913 without $6
238
+ 880__$6100 retain and change $6 value Change $6 value from "100-1" to "700-1"; Make sure indicator to be [1,""]; Make sure subfields are in the original order: $6,$a,$d
239
+ 883 drop Machine-generated Metadata Provenance
240
+ 884 drop Description Conversion Information
241
+ 885 drop Matching Information
242
+ 907 move data, drop a Millennium Record Number Trim to b + 8 digits. Move to 901 $m and use in link to catalog record 856 Delete initial period and final check-digit, e.g., .b10280302x -> b10280302
243
+ 9XX drop Drop all other 9XX fields
244
+
245
+
246
+ Local TIND 9XX Fields to ADD
247
+ Reminder: Fields 901, 902, 903 are not repeatable. All applicable subfields should be written to a single field. E.g., $a, $f, $g, $m, $o all go in the same 901 field.
248
+ 901__a Ark identifier for METS file Required when applicable 901 is internal field used for IDENTIFIERS
249
+ 901__f Ark identifier for finding aid Optional
250
+ 901__g PJID:DBID from GenDB Required when applicable
251
+ 901__m Millennium record number Optional
252
+ 901__o OCLC Number Optional Strip off initial letters, e.g., ocm, ocn, etc. and all initial zeroes. e.g., ocm00080599 -> 80599
253
+ 902__d Date of batch file creation Required 902 is internal field use for RECORD CREATION DETAILS. It's good policy to fill in the optional fields too
254
+ 902__f METS filename or other file used as source of data Required when applicable for METS filenames
255
+ 902__n Batch uploader's initials Required
256
+ 902__p Description of the process and programs used Optional
257
+ 903__b Bibliographic level 903 is used for various BIBLIOGRAPHIC CODES from the MARC record
258
+ 950__a Local/Administrative Notes Use for local notes. Optionally $3 for note type 950 is repeatable and can be used for internal administrative notes. Especially useful for pulling together records of administrative interest. Example: $aMissing Cal Heritage Images
259
+ 982__a Short collection name Displays in facet. REQUIRED Every batchload must have 982 $a and $b. Use only from master spreadsheet of collection names
260
+ 982__b Long collection name Displays in record. REQUIRED
261
+ 982__p Project Name May display in record -- NOT REQUIRED
262
+ 991 Restricted Create restricted collection 991__a and create roles that can access each. When setting an existing collection to dark, add it to this collection by updating the record 991 field. When two collections are associated with a record, the most restrictive policy applies Examples: 991__a = "Restricted2Bancroft" 991__a = "Restricted2EAL" 991__a = "Restricted2Admin" Example restricted record: https://digicoll.lib.berkeley.edu/record/55168
263
+ 852__c Library Location REQUIRED Use 852 -- Repository column from spreadsheet
264
+ 998 AV streaming
265
+ 02480 Local Identifier/Call number
@@ -0,0 +1,53 @@
1
+ // Adapted from https://asktico.lib.berkeley.edu/9xx-local-field-use-2/
2
+ // Retrieved 2021-01-15
3
+
4
+ --9xx local field use--
5
+ 900 - Level 2/Level 3 notes (SCP Shared Cataloging Program information)
6
+
7
+ 905 - Field to retain previous OCLC number/001 when bib record is merged and/or marked for suppression/deletion — to prevent OCLC number duplicates
8
+
9
+ 907 - Used in OCLC to target the Millennium bib record number to overlay (not retained in Millennium)
10
+
11
+ 907 - OTF Bib (shows that Bib record was created on the fly – usually at checkout)
12
+
13
+ 911 - SCP Tier 1
14
+
15
+ 912 - SCP Tier 2
16
+
17
+ 913 - SCP Tier 3
18
+
19
+ 936 - Mix of volume information (historic?) and OCLC parallel record numbers.
20
+
21
+ 941 - PFA coded 541 text.
22
+
23
+ 945 - PFA condition notes
24
+
25
+ 946 - PFA cataloging notes
26
+
27
+ 948 - PFA restriction notes
28
+
29
+ 949 - Used to load item information from OCLC and other sources (not retained in Millennium)
30
+
31
+ 950 - ITSL – used to mark a record for the TRIS database
32
+
33
+ 954 - Marcive authority load marker
34
+
35
+ 955 - C&MS use
36
+
37
+ 956 - Load source/cataloger initials/date. See details below.
38
+
39
+ 957 - OCLC load marker
40
+
41
+ 958 - Marker for titles which have too many items to fit on one bib record, for which multiple bib records have been created
42
+
43
+ 959 - Saved 856 fields when an SFX 856 is added to the record
44
+
45
+ 990 - ANAL note.
46
+
47
+ 993 - Marker used for identifying category/characteristics of this bib record for inclusion or exclusion in various LSO Create Lists queries. Examples of possible use would be “Unlinked analytic” or “Government publication”. Will be in the form: $a<yyyymmdd>$b<category>
48
+
49
+ 994 - OCLC data (added automatically)
50
+
51
+ 998 - AV track information
52
+
53
+ 999 - Deletion marker – use specified here: Deletion: Bibliographic Record