TheEconomist / us-potus-model

Code for a dynamic multilevel Bayesian model to predict US presidential elections. Written in R and Stan.
https://projects.economist.com/us-2020-forecast/president
MIT License
1.24k stars 188 forks source link

Missing files #5

Closed williamlai2 closed 4 years ago

williamlai2 commented 4 years ago

This is great. Are there files missing though?

e.g. out <- read_rds(sprintf('models/backtest_2008/stan_model_%s.rds',RUN_DATE))

cannot open compressed file 'models/backtest_2008/stan_model_2008-11-03.rds', probable reason 'No such file or directory'Error in gzfile(file, "rb") : cannot open the connection

elliottmorris commented 4 years ago

Yes, the model files are not uploaded as they are far too big for github. You’ll have to run the corresponding R scripts for each election in order to knit the overall .Rmd report. On Jun 15, 2020, 20:45 -0400, William Lai notifications@github.com, wrote:

This is great. Are there files missing though? e.g. out <- read_rds(sprintf('models/backtest_2008/stanmodel%s.rds',RUN_DATE))

cannot open compressed file 'models/backtest_2008/stan_model_2008-11-03.rds', probable reason 'No such file or directory'Error in gzfile(file, "rb") : cannot open the connection — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

williamlai2 commented 4 years ago

Great. Thanks for your response.