Skip to content
Snippets Groups Projects
Commit 984b6987 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

DOC: Fix comments in cfood

parent b8bfc591
No related branches found
No related tags found
1 merge request!189DOC: update the single structured file tutorial
......@@ -52,23 +52,25 @@ And we will use the following crawler configuration.
crawler-version: 0.9.1
---
fish_data_file:
fish_data_file: # Root file
type: CSVTableConverter
match: "^fish_data_.*.csv$" # CSV file with a name that starts with "fish_data_"
match: "^fish_data_.*.csv$" # Match CSV file with a name that starts with "fish_data_"
sep: ";"
subtree:
table_row: # Eine Zeile in der Datei
table_row: # One row in the CSV file
type: DictElement
match_name: .* # we want to treat every row
match_name: .* # we want to treat every row, so match anything
match_value: .*
records:
Fish: # Record for the current row; information from statements below
# are added to this Record
subtree:
date: # Spalte mit Art der Maßnahme
date: # Element for the date column
type: TextElement
match_name: date # Name of the column in the table file
match_value: (?P<column_value>.*)
match_value: (?P<column_value>.*) # We match any value of the row in this
# column and assign it to the ``column_value``
# variable
records: # Records edited for each cell
Fish:
date: $column_value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment