Aliquanto3 / Shiny_mtg_meta_analysis

MTGO Metagame analysis with R Shiny
2 stars 1 forks source link

Added options for paper events #2

Open mattialopresti opened 1 year ago

mattialopresti commented 1 year ago

I added the options for the paper events in order to have a more complete overview of competitive events, both paper and online. Everything seems to work properly and I did not notice strange statistic behaviors. Check it out. Bests,

Mattia

Aliquanto3 commented 1 year ago

Thank you for your interest in the app. Actually, the code for paper analysis (and a few more features) already exist in offline program, which can be found here in its most recent iteration: https://github.com/Aliquanto3/R-Meta-Analysis

You might want to check the EventTypes variable here for all the events combinations we can work on (there are more interesting filters to apply than just combining all the available data, since they have different structures): https://github.com/Aliquanto3/R-Meta-Analysis/blob/master/Scripts/Imports/Parameters/Parameters.R

And the implementation of paper events can be found in this file, including some corner cases and how to handle draws or the Pro Tour structure (though iirc this one was fixed in the raw data generation): https://github.com/Aliquanto3/R-Meta-Analysis/blob/master/Scripts/Imports/Functions/01-Tournament_Data_Import.R

There might also be a few other places in the code to look for with the updated variable names if you want to use these, especially for the computation of winrate to handle draws.

mattialopresti commented 1 year ago

Thank you very much!!