Git Product home page Git Product logo

eventsvis's Introduction

eventsVis

A tool for analyzing and visualizing temporal descrete events.

This tools allows the user to inspect events in various forms, to see the interactions of events of various types by looking at them temporally, by looking at consecutive patterns and co-occurring patterns and by inspecting the overall duration or count of events througout time.

It also allows simple manipulations of the data such as grouping of adjacent similar events and deciding on co-occurrence and consecutive events thresholds

This tool uses the shiny framework for visualizing events. In order to run it, you need to have R and preferably Rstudio.

EventsVis currently supports these visualizations:

  • Timeline
  • Distribution of events
  • Consecutive events analysis
  • Co-occurring events analysis
  • SQL querying on dataset

Future plans:

  • Context (time in day, day, holidays, season, weather, location and more)
  • Various sequential rules discovery algorithms
  • Common co-occurring and consecutive patterns discovery

You can see a live example of the tool on ShinyApps (a bit slow but works): [https://omrimendels.shinyapps.io/eventsvis/]

Visualizations:

Timeline:

Timeline

In addition, it allows you to group adjacent similar events together (to ignore the effect of multiple events calls that are actually one event in reality).

Events distributions accross sessions:

Distributions

Consecutive events analysis

Which events occur after others? Notice the cluster around kitchen activity

Consecutive

Visualization: visNetwork

Co-occurring events analysis

Which events co-occur together with others? Notice the cluster/clique around kitchen activity and around living room activity

Consecutive

Visualization: visNetwork

SQL querying:

SQL

Run the app locally:

Clone the github repo to your PC. Should work on Windows/Mac/Linux, tested on Windows Option 1: Open the project in R studio, open the server.R file and click on the play button.

Option 2: Install the 'shiny' package and call

R -e "shiny::runApp('~/eventsVis')"

or change '~/eventsVis' to the app path.

Used packages:

  • shiny
  • shinydashboard
  • googleVis
  • data.table
  • dplyr
  • DT
  • sqldf
  • ggplot2
  • visNetwork
  • RColorBrewer

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Additional visualizations and interaction ideas are mostly welcome.

eventsvis's People

Contributors

microsoftopensource avatar msftgits avatar

Stargazers

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

Watchers

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