Data source/BVD/data model/organization/EMailOrWebsite/mapping/CDQ/transformation
Jump to navigation
Jump to search
Part of Hierarchical relation between two concepts of the CDQ Data Model. | Data source BVD |
---|---|
Mapping source The source of a data model mapping. | BVD EmailOrWebsite ↣ EMAIL_VALUE , WEBSITE_VALUE
|
Transformation type A type of a transformation applied to a data model mapping. | CUSTOM
|
Transformation parameter A transformation parameter is an action proccessed by a data model transformation. | n/a |
Description Informal and comprehensive human-readable definition of a concept. | n/a |
Transformation code Any code (in Python, JAVA or other) that will transform values for a given data source attributes.
def transform(raw_data):
if '@' in raw_data:
return {"businessPartner.profile.contactEmails[0].value": raw_data}
else:
return {"businessPartner.profile.websites[0].url": raw_data}
if '@' in raw_data:
return {"businessPartner.profile.contactEmails[0].value": raw_data}
else:
return {"businessPartner.profile.websites[0].url": raw_data}