Merge branch 'main' of github.com:hykilpikonna/CSC110-Project into main
This commit is contained in:
+21
-1
@@ -2,9 +2,29 @@
|
||||
This module stores constant variables in our projects.
|
||||
|
||||
Instructors said that we can use global constants: https://piazza.com/class/ksovzjrlsye72f?cid=1664
|
||||
|
||||
Note: Paths should not end with "/"
|
||||
"""
|
||||
|
||||
# Paths, should not end with "/"
|
||||
"""
|
||||
File structure:
|
||||
|
||||
data - Processed and raw data
|
||||
├── packed - Packed data
|
||||
└── twitter - Data obtained from Twitter
|
||||
├── user - Twitter user info data
|
||||
│ ├── meta - Meta-data about the follows-chain downloading progress
|
||||
│ ├── processed - Processed (filtered) user data.
|
||||
│ └── users - Raw user info, each json contains info of one user.
|
||||
└── user-tweets - Tweets data
|
||||
├── processed - Processed tweets.
|
||||
└── user - Raw tweets, each json contains all tweets from a user.
|
||||
|
||||
src - Source codes.
|
||||
├── report - Report content generated by report_all() @ visualization.py
|
||||
├── dist - Static website root generated by write_html() @ report.py
|
||||
└── resources - HTML static resources, some are hand-written and some are imported libraries.
|
||||
"""
|
||||
DATA_DIR = '../data'
|
||||
TWEETS_DIR = f'{DATA_DIR}/twitter/user-tweets'
|
||||
USER_DIR = f'{DATA_DIR}/twitter/user'
|
||||
|
||||
Reference in New Issue
Block a user