GithubHelp home page GithubHelp logo

jtkovacs / groupby Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uwseds-aut17/groupby

0.0 0.0 0.0 8.2 MB

uwseds-group-group-by created by GitHub Classroom

License: MIT License

Python 100.00%

groupby's Introduction

ANALYSIS OF SOCIAL MEDIA DATA

Project Description

Browsing, interacting, and creating content on social media has become a way of life for many people. Although some or all of one's social media data can often be downloaded, there appears to be a dearth of tools to facilitate analysis of that data--for example, NameGenWeb was created by the Oxford Internet Institute to assist Facebook users in exporting their networks, but the tool is no longer maintained or usable.

Because we believe that social media users--not only marketers--deserve to understand their social media behavior, we are attempting a tool project that will enable users to gain very simple insights into their social media use. Currently, our tool is capable of ingesting datasets from Facebook, LinkedIn, Twitter, and Google Calendar. In addition to providing some summary of activities on each platform, we anticipate enabling users to explore several questions that depend on integration of data sources:

  • Do their levels of activity across different social media platforms rise and fall together, or do they cycle between one platform or another?
  • What times of day do they tend to be most active on social media?
  • How does their social media activity compare with their other activities, for example, how often does social media activity overlap with scheduled events?

Getting Started

Install

Installation makes our code available as a command line tool as well as a Python module that can be imported and used within your own code:

Uninstall

  • pip uninstall groupby

Testing

  • python setup.py test

Obtain your data

To use this tool, you must download and unzip at least one of these datasets from your personal accounts (note that there can be a delay of a day or so, depending on the platform):

Use the tool (command line)

Option Argument Example Argument
-T, --twitter Path to Twitter data directory ~/Downloads/Twitter
-F, --facebook Path to Facebook data directory ../backups/Facebook12-20-2014
-L, --linkedin Path to LinkedIn data directory data
-C, --calendar Path to Calendar data file ~/Documents/mycal.ics
-O, --output Path to desired report output location ~

The simplest use case is to analyze a single social media dataset:

groupby -T path/Twitter_directory -O ~/Desktop

You can analyze multiple social media datasets simultaneously but separately:

groupby -T path/Twitter_directory -F path/Facebook_directory -O ~/Desktop

Finally, you can analyze all social media datasets in conjunction with calendar data:

groupby -T path/Twitter_directory -F path/Facebook_directory -C path/Google_Calendar_directory -L path/Twitter_directory -O ~/Desktop

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.