FohmAnalys / SEIR-model-Stockholm

Skattning av peakdag och antal infekterade i covid-19-utbrottet i Stockholms län februari-april 2020.
GNU General Public License v2.0
58 stars 32 forks source link

Fixes encoding error and makes runnable on mybinder.org #4

Closed consideRatio closed 3 years ago

consideRatio commented 4 years ago

@FohmAnalys thank you for your transparency in this work, it matters!

This "Pull Request" is a suggested change, and if you agree with it, it can be merged with the click the "Merge pull request" button below. If you agree to the change, it will add information that mybinder.org can use to automatically create an environment allowing this code to be re-executable from a cloud based RStudio environment - all with the click of a single button.

Here is a button to try out: Binder

This suggested change also fixes the encoding error described in https://github.com/FohmAnalys/SEIR-model-Stockholm/issues/3#issuecomment-618956090 (Closes #3).


Note, mybinder.org is a non-profit project meant to help research be reproducible to a larger degree. For more information about transparent research, i recommend this excellent youtube playlist: https://www.youtube.com/watch?v=H9wmo2PUMlY&list=PLj8QFvBykB7cdVPr6CY08UyPPPzy8R2Ar&index=2

martisak commented 4 years ago

Great work @consideRatio!

https://github.com/FohmAnalys/SEIR-model-Stockholm/pull/4/commits/e5fac07577a14765bb07b44bcb80d56405b570a6 can be improved by using the checkpoint package.

install.packages("checkpoint")
library(checkpoint)
checkpoint("2017-04-22")

See more information on Reproducibility: Using Fixed CRAN Repository Snapshots

consideRatio commented 3 years ago

Closing this because it is stale.