Skip to content

cshowley/twitter_feed_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Insight Coding Challenge

numWords.py

First script is to calculate the number of times a word has appeared in a given list of tweets, output to ./tweet_output/ft1.txt

Python libraries used: 'os'

medianWords.py

Second script counts the number of unique words in each tweet and calculates the median number of words in all tweets, output to ./tweet_output/ft2.txt

Python libraries used: 'os' and 'sortedcontainers'

Also included are 'tweets.txt' in tweet_input which contains the provided 10,000 tweet file from the keygen directory as well as the calculated outputs ft1.txt and ft2.txt from that file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published