Skip to content

Add game analytics example data and queries #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions data/game_analytics/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# FeatureBase SQL: Game Analytics

## Overview

This folder has four CSV files with take data that is modeled after what a small live service video game might track in order to measure user engagement and quality of game mechanics. You should be able to run the .sql file in ''fbsql'' or run the command in the FeatureBase Cloud UI.

## Data Import

The data is stored remotely, but I have included a copy of the data in this folder.

## Running Queries

Open ''fbsql'', connect to your database, and run the following:
```
\include <absolute path>/run.sql
```
6 changes: 6 additions & 0 deletions data/game_analytics/game_events.MOCK_DATA.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
1,player died,the player character failed the level
2,player level up,the player character completed the level
3,player quit,the player quit the level before completion
4,player killed enemy,the player character killed an enemy
5,player killed three in a row,the player killed three enemies in a row without losing HP
6,player made purchase,the player made an in-app-purchase
Loading