You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here path denotes a PICA Path (such as 003@$0), field a field reference (such as dc.creator), value a string value and contents a field content (e.g. $afoo$bbar).
pica_update(path, values|contents, [options]) replace or add subfields or fields (deprecates pica_add and pica_set)
pica_replace(path, pattern, value) to search and replace in PICA subfield values with regular expression
pica_subfields(code,value,code,value...) or pica_subfields(contents) to set subfields of current field(s)
pica_annotate([path,] annotation) to set annotation
pica_append([path,] value|contents) to add full field(s) or subfield(s) (maybe not needed)
pica_sort([path,] schedule) to sort and reduce to known (sub)fields
pica_reduce([path,] schedule) to reduce to known (sub)fields (?)
Existing fixes:
pica_add(field, path, [options]) : should be depreacted because of order of arguments
pica_set(field, path, [options]) : might be depreacted because of order of arguments. Alternative name?
Here
pathdenotes a PICA Path (such as003@$0),fielda field reference (such asdc.creator),valuea string value andcontentsa field content (e.g.$afoo$bbar).pica_update(path, values|contents, [options])replace or add subfields or fields (deprecatespica_addandpica_set)pica_replace(path, pattern, value)to search and replace in PICA subfield values with regular expressionpica_subfields(code,value,code,value...)orpica_subfields(contents)to set subfields of current field(s)pica_annotate([path,] annotation)to set annotationpica_append([path,] value|contents)to add full field(s) or subfield(s) (maybe not needed)pica_sort([path,] schedule)to sort and reduce to known (sub)fieldspica_reduce([path,] schedule)to reduce to known (sub)fields (?)Existing fixes:
pica_add(field, path, [options]): should be depreacted because of order of argumentspica_set(field, path, [options]): might be depreacted because of order of arguments. Alternative name?pica_keep(path [, path...])pica_remove([path])pica_map(path, field)pica_tag(tag)