Skip to content

mwango-phoenix/Guardian-Lion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super Nova Machine Learning Group

Introduction

Team

See Team members

Meeting Minutes

Resources

Get twitter data

Run the script

export BEARER_TOKEN=Bearer Token
python3 ./src/twitter/get_tweets.py

Convert json to CSV:

cat 2021_04_11_china_.json | jq -r '.data[] | {author_id,id,text}' | jq -s | jq -r '(map(keys) | add | unique) as $cols | map(. as $row | $cols | map($row[.])) as $rows | $cols, $rows[] | @csv' > 2021_04_11_china.csv

Installation

pip3 install jupyterlab

Run a local jupyter server

Run the command below and a web browser will be started.

jupyter-lab

There is a script under src/jupyter. You can also create a new notebook.

Commonly used commands for jupyter can be found here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published