Delete Goodreads-Mystery
Browse files
Goodreads-Mystery/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_mystery_thriller_crime.json.gz"
|
11 |
-
"https://datarepo.eng.ucsd.edu/mcauley_group/gdrive/goodreads/byGenre/goodreads_reviews_mystery_thriller_crime.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-Mystery/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-Mystery/raw/goodreads_books_mystery_thriller_crime.json
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:a308ab4d80b1c529f3f8bd70056e735646b06c4f61ebe9caee950f83680530e5
|
3 |
-
size 1076264154
|
|
|
|
|
|
|
|
Goodreads-Mystery/raw/goodreads_reviews_mystery_thriller_crime.json
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:519005a13b19ce65ff13cefc70628feac4cdc269a19e1f5b606059e59591c6d7
|
3 |
-
size 1876194924
|
|
|
|
|
|
|
|