From csv table to tinydb

Assumptions

  1. csv is in table format
tag1,data1
tag2,data2
tag3,data3
  1. That you may want to edit the data once loaded, so only load the csv on the first run of the app.

I have not tested either of these......

Two versions:

a) As before, each element from the csv is loaded to a tag

b) The csv data is loaded to a list, then the entire list is saved to a single tag

Now, you have previously been pointed at documentation on lists: