Giter VIP home page Giter VIP logo

4am's People

Contributors

skonkiel avatar thisisjaid avatar

Watchers

 avatar

4am's Issues

analyze.py throws error for culturalstudiestweets.json--and only that file

Here's the error message I get when running the script on the cultural studies tweets:

Traceback (most recent call last): File "analyze.py", line 86, in <module> tweets.drop(tweets.index[mdtweets], inplace=True) File "/Users/stacy_altmetric/anaconda/lib/python3.6/site-packages/pandas/core/indexes/range.py", line 521, in __getitem__ return super_getitem(key) File "/Users/stacy_altmetric/anaconda/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 1650, in __getitem__ result = getitem(key) IndexError: index 1677 is out of bounds for axis 1 with size 1338

I don't encounter this issue when running the script on the other JSON files in the dataset.

Would you mind taking a look, @thisisjaid?

double-check SentiStrength data for appropriate scoring

I noticed some words that would be in our dataset might not actually have the existing, coded negative or positive associations (e.g. the use of "queer" in our gender studies tweet dataset). We should review all the SentiStrength lists to be sure terms are coded correctly for our purposes. I'm happy to do that.

tweet data needs to be extracted from database again

In looking more closely at the .txt versions of the datasets that Maciej pulled, it seems as though there are more than just Twitter mentions mixed in (some blog posts, some news). Would you mind pulling the data again for all three disciplines, so we'll have reasonably similar datasets pulled around the same timeframe? Thanks!

Once we have those new json datasets, it should be pretty easy to create the new .txt files to run through Sentistrength (which I'm experimenting with now).

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.