gbv / Catmandu-PICA

Catmandu modules for working with PICA+ data
https://metacpan.org/release/Catmandu-PICA
Other
4 stars 4 forks source link

Fix / PICA method to get holding records #20

Closed nichtich closed 1 year ago

nichtich commented 10 years ago

Holding records in PICA are aggregated by level 1 fields. There should be a pica_holdings method, similar to https://metacpan.org/pod/PICA::Record#holdings-iln.

Depends on https://github.com/gbv/PICA-Data/issues/1

nichtich commented 6 years ago

Could also be implemented as bind:

do pica_each_local()
   # process local record with its item records
end
do pica_each_item()
   # process all item record
end
UschiKlute commented 6 years ago

As in Catmandu an "item" means something like data record (Datensatz) I would prefer the PICA terminology: pica_each_copy

nichtich commented 1 year ago

Could also be extension of pica_each, e.g. pica_each('copy')

nichtich commented 1 year ago

Implemented on the importer with option 'level' (version 1.13).