Skip to content

Commit

Permalink
Update guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend authored Mar 18, 2024
1 parent 82a97ae commit 504e4a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,17 @@ We'll return to these after loading our data.

## Load and inspect data

Decompress the data file if you have not already done so.

```shell
gzip -d 202004--202402-divvy-tripdata-slim.csv.gz
```

The CSV should load with a simple `\copy` command.

```sql
\copy divvy_trips
from 202004--202402-divvy-tripdata-slim.csv
from '202004--202402-divvy-tripdata-slim.csv'
with (header on, format csv);
```
```
Expand Down

0 comments on commit 504e4a7

Please sign in to comment.