Pipes for MarkLogic DataHub is visual programming tool for MarkLogic Data Hub. It integrates with MarkLogic's Datahub and produces custom code step(s) using a no-code UI environment.
Feedback from POC for phone number cleansing: Add a togle widget to Array to filter empty values (true/false, default false). To make this more generic: an value is considered empty if:
The input is null
The input is instanceof object and the object is empty ( Object.keys(obj).length === 0 ). What about deep checking ( { obj: "", z : [], x: null, y: [{},{a: null]) should be considered empty as a whole?)
The input is typeof input equals to string and the string is empty (input === "").
Feedback from POC for phone number cleansing: Add a togle widget to Array to filter empty values (true/false, default false). To make this more generic: an value is considered empty if:
instanceof object
and the object is empty (Object.keys(obj).length === 0
). What about deep checking ({ obj: "", z : [], x: null, y: [{},{a: null])
should be considered empty as a whole?)typeof input
equals tostring
and the string is empty (input === ""
).