Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CaosDB Crawler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Crawler
Commits
984b6987
Commit
984b6987
authored
6 months ago
by
Florian Spreckelsen
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Fix comments in cfood
parent
b8bfc591
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!189
DOC: update the single structured file tutorial
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/doc/tutorials/single_file.rst
+8
-6
8 additions, 6 deletions
src/doc/tutorials/single_file.rst
with
8 additions
and
6 deletions
src/doc/tutorials/single_file.rst
+
8
−
6
View file @
984b6987
...
...
@@ -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: #
Ei
ne
Zeile in der Datei
table_row: #
O
ne
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment