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
to use, call: python ./src/tweets_cleaned inputfile outputfile
packages used and needed:
- json
- sys
to use, call: python ./src/average_degree.py inputfile outputfile
packages used and needed:
- json
- datetime
- itertools
- sys