Skip to content

08 Preprocessing

hkuich edited this page Nov 22, 2021 · 1 revision

Schema

fakebook-link sub attribute, value string; person sub entity, ... owns fakebook-link;

Data

phone_number,fb +36 318 105 5629,https://www.fakebook.com/personOne/ +63 808 497 1769,https://www.fakebook.com/person-Two/ +62 533 266 3426,https://www.fakebook.com/person_three/ 

Configuration

{ ..., ..., ...: { "ownerships": [ { "attribute": "fakebook-link", "column": "fb", "required": true, "preprocessorConfig": { // you can add a preprocessorConfig to any attribute (ownerships or when inserting attributes) "type": "regex", // currently, only a regex processor is available "parameters": { "regexMatch": "^.*(fakebook\\.com.*)/$", // provide a regex string to match "regexReplace": "$1" // provide a regex string for replace } } } ] } } 

See the full phone-calls schema here.

See the full phone-calls config file here.

See the full data file here.

Clone this wiki locally