Skip to content

Commit

Permalink
Add DB Browser screenshot #434
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianK13 committed Aug 30, 2023
1 parent e7154ee commit 44aee50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,22 @@ The default settings will save retrieved data into the sqlite database. The func

## Accessing the database



For accessing and working with the MaStR database after you have downloaded it, you can use sqlite browsers
such as [DB Browser for SQLite](https://sqlitebrowser.org/) or any python module
which can process sqlite data. Pandas, for example, comes with the function
[read_sql](https://pandas.pydata.org/docs/reference/api/pandas.read_sql.html).

```python
import pandas as pd

table="wind_extended"
df = pd.read_sql(sql=table, con=db.engine)
```
=== "pandas"
```python
import pandas as pd

table="wind_extended"
df = pd.read_sql(sql=table, con=db.engine)
```

=== "DB Browser for sqlite"
![Image caption](images/DBBrowser.PNG){ loading=lazy }

## Exporting data

Expand Down
Binary file added docs/images/DBBrowser.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 44aee50

Please sign in to comment.