Delete Amazon-APP/raw
Browse files
Amazon-APP/raw/download_data.sh
DELETED
@@ -1,24 +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://snap.stanford.edu/data/amazon/productGraph/categoryFiles/reviews_Apps_for_Android_5.json.gz"
|
11 |
-
"https://snap.stanford.edu/data/amazon/productGraph/categoryFiles/meta_Apps_for_Android.json.gz"
|
12 |
-
)
|
13 |
-
|
14 |
-
for url in "${urls[@]}"; do
|
15 |
-
wget -P "$RAW_DIR" "$url"
|
16 |
-
done
|
17 |
-
|
18 |
-
for file in "$RAW_DIR"/*.gz; do
|
19 |
-
gunzip "$file"
|
20 |
-
done
|
21 |
-
|
22 |
-
echo "Download and extraction complete."
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Amazon-APP/raw/meta_Apps_for_Android.json
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:3345a414c87b588512d104e0b5c73d34e2b934a64bb8aec633be5d969feffcad
|
3 |
-
size 59955438
|
|
|
|
|
|
|
|
Amazon-APP/raw/reviews_Apps_for_Android_5.json
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:55a30be054c139b900fd93fe3cffda17caf49b3a91760dc2e40eb84ea59ad958
|
3 |
-
size 337389838
|
|
|
|
|
|
|
|