Git Product home page Git Product logo

facebookr's Introduction

FacebookR

Facebook Post Reactions dataset


Paper: Social Emotion Mining Techniques for Facebook Posts Reaction Prediction (accepted at ICAART 2018)

This dataset was created for a research project at the Department of Data Science and Knowledge Engineering (Maastricht University). The dataset contains facebook posts, their correlating comments, an emotion lexicon and labled sentences.

Usage

Database

The database used in this project is MongoDB. The files in this repository are dump-files created by MongoDB. So, one can unzip the files, start MongoDB on your machine and use the following command to import the files in your MongoDB:

mongorestore -d <name_of_the_database> <your_path_to_the_github_files>

Python 3 scripts

We also provide Python 3 scripts that can be used to work with the data. One needs to install pymongo to use these scripts.


database_access.py

DataStorage is a base class (abstract class) for accessing/reading/writing to MongoDB.

mongodb.py

MongodbStorage inherits from DataStorage and contains the implemented database access (default database name is "research_project", the user should use <name_of_the_database> as specified in the import command). There are various methods to read and write information to the database tables.

data_types.py

Furthermore, Post, Comment and Emotion are three data classes that can hold information of the corresponding database tables.

facebookr's People

Contributors

jerryspan avatar pythesc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.