Map fields for 2014tc16i5cb007 producer, CSV file types
Example input data: stub
Transform function: implementation details
record
Object Piece of data to transform before going to harmonized storage.
Returns Project JSON matching the type fields.
Preprocess budget
.
Input fields taken from the record
are:
Project final contract amount
Project EU co-financing rate
record
Object The row received from parsed file
Returns Budget
Preprocess description
.
Input fields taken from the record
are:
Project call
Project intervention field
Last modified
record
Object The row received from parsed file
Returns String
Generates an ID for project_id
.
Input fields taken from the record
are:
Project code
record
Object The row received from parsed file
Returns String
Gets country code from a country name.
countryName
String The name of the country
Returns String The ISO 3166-1 country code
Preprocess project_locaions
.
Input fields taken from the record
are:
Region
Country
record
Object The row received from parsed file
Preprocess third_parties
.
Input fields taken from the record
are:
Leading partner
Region
Country
record
Object The row received from parsed file
Returns Array<ThirdParty>
Format date.
date
Date Date in DD.MM.YYYY format
input => '01.01.2009';
output => '2009-01-01T00:00:00.000Z';
Returns Date The date formatted into an ISO 8601 date format
Preprocess timeframe
.
Input fields taken from the record
are:
Project start date
Project end date
record
Object The row received from parsed file
Returns Timeframe
Preprocess title
.
Input fields taken from the record
are:
Project title
record
Object The row received from parsed file
Returns String