frictionlessdata.io
frictionlessdata.io copied to clipboard
Add configurability to custom Steps
trafficstars
Overview
A research team within the Purdue College of Agriculture has started to use Frictionless for its data pipelines, and we would like to write custom Steps that receive configuration options from the Pipeline YAML file. For example:
steps:
# Standard Step -- ensure ID is an integer
- type: field-update
name: id
descriptor:
name: farm_animal_id
type: integer
# Custom Step -- normalize funky date formats
# Currently, in our testing, values (below) such as field_name or descriptor.name
# are not getting passed to the custom step, and it appears they are not kept by
# the custom Step mechanism. We want to capture them and pass them into the
# custom Step initialization.
- type: date-normalize
field_name: Date
descriptor:
name: Date
type: string
Hi Frictionless! We want to develop and submit a solution, and also plan to attend the hangout tomorrow, to get connected to the Frictionless community.
Question: Should this move over to frictionless-py? https://github.com/frictionlessdata/frictionless-py/issues