timomey / insight_dataengineering_challange

ide challange twitter project. 1) extract relevant tweet data from twitter API 2) twitter hashtag graph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

programmed for InsightDataScience coding challenge ( https://github.com/InsightDataScience/coding-challenge )

to run the files in the src folder, use python 2.7.10

note: input and output files are relative to where python is running. example: python ./src/tweets_cleaned ./tweet_input/tweets.txt ./tweet_output/out.txt

or just run run.sh

1: src/tweets_cleaned.py

to use, call: python ./src/tweets_cleaned inputfile outputfile

packages used and needed:

  • json
  • sys

2: src/average_degree.py

to use, call: python ./src/average_degree.py inputfile outputfile

packages used and needed:

  • json
  • datetime
  • itertools
  • sys

About

ide challange twitter project. 1) extract relevant tweet data from twitter API 2) twitter hashtag graph


Languages

Language:Python 98.4%Language:Shell 1.6%