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. ...@@ -52,23 +52,25 @@ And we will use the following crawler configuration.
crawler-version: 0.9.1 crawler-version: 0.9.1
--- ---
fish_data_file: fish_data_file: # Root file
type: CSVTableConverter 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: ";" sep: ";"
subtree: subtree:
table_row: # Eine Zeile in der Datei table_row: # One row in the CSV file
type: DictElement type: DictElement
match_name: .* # we want to treat every row match_name: .* # we want to treat every row, so match anything
match_value: .* match_value: .*
records: records:
Fish: # Record for the current row; information from statements below Fish: # Record for the current row; information from statements below
# are added to this Record # are added to this Record
subtree: subtree:
date: # Spalte mit Art der Maßnahme date: # Element for the date column
type: TextElement type: TextElement
match_name: date # Name of the column in the table file 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 records: # Records edited for each cell
Fish: Fish:
date: $column_value date: $column_value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment