<commit_before># G­Player: Visualization of Spatial­-temporal Play Data

> Visualization and Data Management for Player Activity in Games

## Overview

A data visualization system for viewing and manipulating multiplayer game data. Software will allow researchers to analyze data sets of user activity to understand actions and trends. The system will provide a visual representation of the recorded spatial­-temporal behavior of all players and allow researchers to query data based on metrics such as trajectories of events, frequency of events, and others.

Created in association with <NAME>, Game Development Researcher at Northeastern University. 

## Demo

> Preview the project online

Available at: [g-player.herokuapp.com](g-player.herokuapp.com)

## Getting Started

Download from our [GitHub](https://github.com/spacial-player-data-visualization/g-player-visualization)


> Installing Database

After downloading the repository, create a directory for the database
Use [Brew](http://brew.sh/) to install Mongo Database. 

```sh
$ sudo mkdir /data/db
$ brew install mongo
```


> Installing the Node Server

Make sure you have [Node.js](http://nodejs.org/) and the [Heroku Toolbelt](https://toolbelt.heroku.com/) installed.

```sh
$ npm install
```

## Starting Local Server

> Start Database & Server

```sh
$ sudo mongod
$ npm start

```

Note: Each command runs a process, and may require independent terminals.

Pro Tip: Use nodemon on index.js to automatically restart the API on file change.

Your app should now be running on [localhost:5000](http://localhost:5000/).

The api is available at [localhost:5000/api](http://localhost:5000/api).

## Deployment to Server (Heroku)

```
$ install [heroku toolbelt](https://toolbelt.heroku.com/)
$ heroku create
$ git push heroku master
$ heroku open
```

## Authors

- [<NAME>](https://github.com/pragsanshi)
- [<NAME>](https://github.com/tomxhu)
- [<NAME>](https://github.com/iBroadband)
- [<NAME>](https://github.com/alexjohnson505)
- [<NAME>](https://github.com/alexjacks92)

## Special Thanks

> Tutorials, Resources, and Dependencies. 

- [Leaflet.js - Open Source Library for Interactive Maps](leafletjs.com)
- [Patrick Wied's Heatmap Library](http://www.patrick-wied.at/static/heatmapjs/)
- [Node.js](http://nodejs.org/)
- [PapaParse.js for Parsing .CSV files](http://papaparse.com)
- [FontAwesome's Icon Library](http://fortawesome.github.io/Font-Awesome/)
- [Bootstrap](http://getbootstrap.com/)
- [Underscore.js](http://underscorejs.org/)<commit_msg>Update deployment section of README<commit_after># G­Player: Visualization of Spatial­-temporal Play Data

> Visualization and Data Management for Player Activity in Games

## Overview

A data visualization system for viewing and manipulating multiplayer game data. Software will allow researchers to analyze data sets of user activity to understand actions and trends. The system will provide a visual representation of the recorded spatial­-temporal behavior of all players and allow researchers to query data based on metrics such as trajectories of events, frequency of events, and others.

Created in association with Truong-Huy D. Nguyen, Game Development Researcher at Northeastern University. 

## Demo

> Preview the project online

Available at: [g-player.herokuapp.com](g-player.herokuapp.com)

## Getting Started

Download from our [GitHub](https://github.com/spacial-player-data-visualization/g-player-visualization)


> Installing Database

After downloading the repository, create a directory for the database
Use [Brew](http://brew.sh/) to install Mongo Database. 

```sh
$ sudo mkdir /data/db
$ brew install mongo
```


> Installing the Node Server

Make sure you have [Node.js](http://nodejs.org/) and the [Heroku Toolbelt](https://toolbelt.heroku.com/) installed.

```sh
$ npm install
```

## Starting Local Server

> Start Database & Server

```sh
$ sudo mongod
$ npm start

```

Note: Each command runs a process, and may require independent terminals.

Pro Tip: Use nodemon on index.js to automatically restart the API on file change.

Your app should now be running on [localhost:5000](http://localhost:5000/).

The api is available at [localhost:5000/api](http://localhost:5000/api).

## Deployment to Server (Heroku)
> Log into [heroku.com](http://heroku.com) and deploy from the GitHub repo.

## Authors

- [<NAME>](https://github.com/pragsanshi)
- [<NAME>](https://github.com/tomxhu)
- [<NAME>](https://github.com/iBroadband)
- [<NAME>](https://github.com/alexjohnson505)
- [<NAME>](https://github.com/alexjacks92)

## Special Thanks

> Tutorials, Resources, and Dependencies. 

- [Leaflet.js - Open Source Library for Interactive Maps](leafletjs.com)
- [Patrick Wied's Heatmap Library](http://www.patrick-wied.at/static/heatmapjs/)
- [Node.js](http://nodejs.org/)
- [PapaParse.js for Parsing .CSV files](http://papaparse.com)
- [FontAwesome's Icon Library](http://fortawesome.github.io/Font-Awesome/)
- [Bootstrap](http://getbootstrap.com/)
- [Underscore.js](http://underscorejs.org/)
{'fraction_non_alphanumeric': 0.12415574096146206, 'fraction_numerical': 0.00834326579261025, 'mean_word_length': 4.638297872340425, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 27, 'https://': 15, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5053251', 'n_tokens_mistral': 1603, 'n_tokens_neox': 1458, 'n_words': 491}