Git Product home page Git Product logo

weratedogs_data_analysis's Introduction

WeRateDogs Twitter Data Analysis

by Xinqi Lin

There are 3 data sources in this WeRateDogs project. WeRateDogs is a Twitter account that rates people's dogs with a humorous comment about the dog. The first dataset is The WeRateDogs Twitter archive, which I uploaded a csv file called 'twitter-archive-enhanced.csv'. I'll need its tweet IDs later. Then I used requests module to get tweet image predictions data using url 'https://d17h27t6h515a5.cloudfront.net/topher/2017/August/599fd2ad_image-predictions/image-predictions.tsv'. The last dataset I gathered was additional data from Twitter API. To use Twitter API, I created my first Twitter account and applied for a developer account. Luckily, I passed the application! With a developer account, I created a project and got token and secret, which I used for authentication. Then I was able to use tweepy module to query Twitter's API for JSON data for each tweet ID in the The WeRateDogs Twitter archive. The data I extracted via API was tweet_id, favorite_count and retweet_count. I mainly used seaborn and matplotlib modules for my analysis, and it covered one-variable distribution, two-variable correlation etc.

weratedogs_data_analysis's People

Contributors

xinqilin1994 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.