NAME

Catmandu::Fix::pica_keep - reduce PICA record to selected fields

SYNOPSIS

# keep level 0 fields
pica_keep('0.../*')

# keep two specific fields only
pica_keep('003@,021A')

FUNCTIONS

pica_keep(PATH)

Reduce PICA record to fields referenced by PICA Path expressions. Multiple expressions can be separated by | or space. Path expressions must not contain subfields.

SEE ALSO

Function pica_fields of PICA::Data, PICA::Path, Catmandu::Fix::pica_remove.