@@ -5,33 +5,33 @@ format, using the same format as an .ABOUT file.
55
66The attributes that can be set in a configuration file are:
77
8- * column_renamings :
8+ * field_renamings :
99An optional map of source CSV column name to target CSV new column name that
1010is used to rename CSV columns.
1111
1212For instance with this configuration the columns "Directory/Location" will be
1313renamed to "about_resource" and "foo" to "bar":
14- column_renamings :
14+ field_renamings :
1515 'Directory/Location' : about_resource
1616 foo : bar
1717
1818The renaming is always applied first before other transforms and checks. All
1919other column names referenced below are these that exist AFTER the renamings
2020have been applied to the existing column names.
2121
22- * required_columns :
22+ * required_fields :
2323An optional list of required column names that must have a value, beyond the
2424standard columns names. If a source CSV does not have such a column or a row is
2525missing a value for a required column, an error is reported.
2626
2727For instance with this configuration an error will be reported if the columns
2828"name" and "version" are missing or if any row does not have a value set for
2929these columns:
30- required_columns :
30+ required_fields :
3131 - name
3232 - version
3333
34- * column_filters :
34+ * field_filters :
3535An optional list of column names that should be kept in the transformed CSV. If
3636this list is provided, all the columns from the source CSV that should be kept
3737in the target CSV must be listed be even if they are standard or required
@@ -40,7 +40,7 @@ transformed target CSV.
4040
4141For instance with this configuration the target CSV will only contains the "name"
4242and "version" columns and no other column:
43- column_filters :
43+ field_filters :
4444 - name
4545 - version
4646
0 commit comments