Metafacture Playground Cheat Sheet

Here are some examples of workflows. They will open in playground. Search for something of your interest. You can combine those workflows by copy'n'paste - while not everything is free combinable in the 'Flux' (e.g. some input formats depend on special treatments) you often can combine a section with another. The 'Fix' is mostly exchangeable, but sometimes a serializer (the section following the 'fix' command) demands some fields as inputs.

Just try it.
If you have a task you cannot resolve by yourself, let us know - we will provide a solution here!

Don't forget to click "process" in the playground to get a result.

Analyzing

List all MarcXML fields - gets all field names (and their values)   ;   Count occurences of values of a specified field   ;   Count a pattern (defined by a regex) found in values of fields   ;  

Serialization and input and output formats

Formeta to XML   ;   Marc21 to formeta   ;   OAI-PMH MODS to Json   ;   MarcXML via http to JSON   ;   Save Result as file   ;   Pica to MarcXML (morph)   ;   Pica to JSON   ;  

Transform

Rename fields   ;   Filter to get only one field (and its subfields)   ;   Filter, rename, concatenate   ;   Simple internal lookup: substitute a value with a constant   ;  

Special operations

Enrichment: merge two sources using a "wormhole"

Useful links

Here is a list of all Flux commands(be aware that these are not freely combinable).