jarad / swgoh-data

A repository for Star Wars: Galaxy of Heroes data
0 stars 1 forks source link

Star Wars Galaxy of Heroes data

This repository contains the raw data recorded for the mobile game Star Wars Galaxy of Heroes and tidy versions of that data.

Organization

The main directories are

Scripts

Two main scripts are available and meant to be run from this directory: tests and tidying.

Raw data test is available through the following code

source("code/test.R")

Currently the testing code is set up for daily testing. If you want to test a particular day in the past, you need to modify the dates object in the setup-files.R file.

The script to tidy the data are available through the code

source("code/tidy.R")

This will create a number of files that can be found in the data/tidy/ folder.

R package

These data are readily available for use in R through the R package swgoh.