Delete Goodreads-History
Browse files
Goodreads-History/raw/download_data.sh
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
#!/bin/bash
|
2 |
-
|
3 |
-
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
4 |
-
BASE_DIR="$(dirname "$SCRIPT_DIR")"
|
5 |
-
RAW_DIR="$BASE_DIR/raw"
|
6 |
-
|
7 |
-
mkdir -p "$RAW_DIR"
|
8 |
-
|
9 |
-
urls=(
|
10 |
-
"https://datarepo.eng.ucsd.edu/mcauley_group/gdrive/goodreads/byGenre/goodreads_books_history_biography.json.gz"
|
11 |
-
"https://datarepo.eng.ucsd.edu/mcauley_group/gdrive/goodreads/byGenre/goodreads_reviews_history_biography.json.gz"
|
12 |
-
"https://datarepo.eng.ucsd.edu/mcauley_group/gdrive/goodreads/goodreads_book_genres_initial.json.gz"
|
13 |
-
)
|
14 |
-
|
15 |
-
for url in "${urls[@]}"; do
|
16 |
-
wget -P "$RAW_DIR" "$url"
|
17 |
-
done
|
18 |
-
|
19 |
-
for file in "$RAW_DIR"/*.gz; do
|
20 |
-
gunzip "$file"
|
21 |
-
done
|
22 |
-
|
23 |
-
echo "Download and extraction complete."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goodreads-History/raw/goodreads_book_genres_initial.json
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:4f32c5bbec5daa66115db1526266559f889fd913934cfdc7da50a64944a5f623
|
3 |
-
size 199903667
|
|
|
|
|
|
|
|
Goodreads-History/raw/goodreads_books_history_biography.json
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:990425288bfd95d00c39884a0d9508c0afd684e86703049a3f5b6aec2558090f
|
3 |
-
size 1447873942
|
|
|
|
|
|
|
|
Goodreads-History/raw/goodreads_reviews_history_biography.json
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:78ef53e313582f24faf0bb619ef36fbfe05f0db67d8a53702c5508b682b7c2de
|
3 |
-
size 2239701208
|
|
|
|
|
|
|
|