Tutorial
Here's an example of the simplest csvs dataset that contains a record about visiting Japan in 2001.
# .csvs.csv csvs,0.0.2# _-_.csv event,date# event-date.csv visited Japan,2001-01-01
Technically, this dataset represents three records:
eventrecord that saysvisited Japan in 2001-01-01daterecord that says2001-01-01- a
_record, pronouncedschema record, that says"event" has a "date"
Let's add another event about climbing the Everest in 2003
# .csvs.csv csvs,0.0.2# _-_.csv event,date# event-date.csv visited Japan,2001-01-01 climbed Everest,2003-03-03
Now, the dataset represents five records:
eventrecord that saysvisited Japan in 2001-01-01eventrecord that saysclimbed Everest in 2003-03-03daterecord that says2001-01-01daterecord that says2003-03-03- a
_record, pronouncedschema record, that says"event" has a "date"
Let's add another value to the database to show that events happened to different people.
# .csvs.csv csvs,0.0.2# _-_.csv event,date event,name# event-date.csv visited Japan,2001-01-01 climbed Everest,2003-03-03# event-name.csv visited Japan,Donell climbed Everest,Eva
Finally, the dataset represents seven records:
eventrecord that saysDonell visited Japan in 2001-01-01eventrecord that saysEva climbed Everest in 2003-03-03daterecord that says2001-01-01daterecord that says2003-03-03namerecord that saysEvanamerecord that saysDonell- a
_record, pronouncedschema record, that says"event" has a "date" and a "name"
To remove records from the dataset, delete corresponding lines from the tablets.
Learn more about csvs in the User guides.
Note
- this page should explain how csvs works without teaching programming
- should have an explanation for the "listing of files" format, saying it shows the names and the content of the files
- introduces the terminology of a "record" without giving the context
- there should be confirmation of existing knowledge
- there should not be references to specific database alternatives
- there should be real life metaphors like "folder" or "archive", and suggestions like "imagine" or "remember"
- the intention right now is to give data so the reader makes connections on their own, there should be confirmation of right connections and some attention to the possible incorrect presumptions
- the goal of the tutorial is to give some control and awareness, this text right now instead gives a quick technical summary of the csvs API
- this text should be moved to some technical page, perhaps to the README page of reference or user guides