reichlab / shiny-predictions

A Shiny app for visualizing predictions.
GNU General Public License v3.0
0 stars 0 forks source link

write script to create database of KCDE predictions from our public data #2

Open nickreich opened 8 years ago

nickreich commented 8 years ago

Predictions live at https://github.com/reichlab/ssr-influenza-competition

nickreich commented 8 years ago

Directly readable from https://raw.githubusercontent.com/reichlab/ssr-influenza-competition/master/inst/submissions/EW01-KoT-2016-01-18.csv

qbazinet commented 8 years ago

Just uploaded a file called scanned_weeks.R that should do exactly this! It divides each week into two dataframes (for the two different sets of data within each document), and appropriately names all columns. It's a bit inelegant, but it should get the job done for the moment.

nickreich commented 8 years ago

It works for me! Nice first pass getting some code that works and creates simple readable data. Now the trick is to functionalize the code so that it could be applied more generally. Ideally, we'd have a script that could run and create 1 or 2 data.frames that could then be saved. I'm thinking something like this process: