-
Notifications
You must be signed in to change notification settings - Fork 6
Processing while ingesting
Anonymous edited this page Apr 29, 2016
·
9 revisions
DaCHS allows you to process your data while it is being ingested -- i.e., inside your RD; and that can be done in different levels, from variables type casting to units conversion to complex,multiple variables computing. For the simple/common ones (e.g, units conversion), DaCHS even provides you an API; for more complex tasks, you can define your custom python code.
In your RD there are a couple of places you can trigger such processing calls. One of these places is in the rowmaker
element, inside data
block [1].
- apply
-
apply
elements allow you to embed python code.
[1] | the-structure-of-an-rd_data_rowmaker_ |