Skip to content

Commit

Permalink
Fixed typo in books-notw.json file names
Browse files Browse the repository at this point in the history
  • Loading branch information
mmendiratta27 authored Jan 19, 2024
1 parent 764aad4 commit 7a68e79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,13 @@ $ zcat /data-fast/goodreads/goodreads_books.json.gz | grep '"title": "The Name o
```
Now we can quickly count the number of books:
```
$ cat notw.json | wc -l
$ cat books-notw.json | wc -l
4
```
And we can do other processing on these books much more efficiently.
For example, we can extract the title from each of these books with the command
```
$ cat notw.json | jq '.title'
$ cat books-notw.json | jq '.title'
"The Name of the Wind"
"The Name of the Wind"
"The Name of the Wind"
Expand All @@ -333,7 +333,7 @@ $ cat notw.json | jq '.title'
Notice that they are all the same and match our regex.
The differences between each entry are in the `format` and `edition_information` fields:
```
$ cat notw.json | jq '.format'
$ cat books-notw.json | jq '.format'
"Audio"
"Paperback"
"Hardcover"
Expand All @@ -346,7 +346,7 @@ $ cat notw.json | jq '.edition_information'
```
And each entry has a different `book_id` field:
```
$ cat notw.json | jq '.book_id'
$ cat books-notw.json | jq '.book_id'
"17353642"
"18741780"
"12276953"
Expand Down

0 comments on commit 7a68e79

Please sign in to comment.