@@ -69,9 +69,9 @@ Examples of each data card standard for the Wildfire dataset can be found in ``e
6969User Examples
7070--------------
7171Examples below display various ways users can incorporate DSI into their data science workflows.
72- They are located in ``examples/user/ `` and must be run from that directory.
72+ They must be executed from their directory in ``examples/user/ ``
7373
74- All of them either load or refer to data in ``examples/clover3d/ ``.
74+ To run them successfully, please unzip `` clover3d.zip `` located in ``examples/clover3d/ ``, and execute `` requirements.extras.txt ``.
7575
7676Example 1: Intro use case
7777~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -93,15 +93,20 @@ Printing various data and metadata from a DSI backend - number of tables, list o
9393
9494Example 4: Find data
9595~~~~~~~~~~~~~~~~~~~~
96- Finding data from an active DSI backend that matches an input query - a string or a number.
97- Prints all matches by default. If ``True `` is passed as an additional argument, returns rows of the first table that satisfies the query.
96+ Finding data from an active DSI backend that matches an input object.
97+
98+ If using ``search() ``, the input can be a string or number.
99+ If using ``find() ``, the input must be a string in the form of a condition - [column] [operator] [value].
100+
101+ By default, all matches are printed. If ``True `` is passed as an additional argument, the matching rows are returned as a DataFrame instead.
98102
99103.. literalinclude :: ../examples/user/4.find.py
100104
101105Example 5: Update data
102106~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
103- Updating data from the edited output of ``find() ``. Input can be output of either ``find() ``, ``query() ``, or ``get_table() ``.
104- Users must NOT change metadata columns starting with **`dsi_` ** even if adding new rows.
107+ Updating data from the edited output of ``find() ``. Users must NOT modify metadata columns starting with **`dsi_` ** even when adding new rows.
108+
109+ The input can be the output of either ``find() ``, ``search() ``, ``query() ``, or ``get_table() ``.
105110
106111.. literalinclude :: ../examples/user/5.update.py
107112
@@ -110,6 +115,8 @@ Example 6: Query data
110115Querying data from an active DSI backend.
111116Users can either use ``query() `` to view specific data with a SQL statement, or ``get_table() `` to view all data from a specified table.
112117
118+ By default, all matches are printed. If ``True `` is passed as an additional argument, the matching rows are returned as a DataFrame instead.
119+
113120.. literalinclude :: ../examples/user/6.query.py
114121
115122Example 7: Complex schema with data
0 commit comments