Giter Site home page Giter Site logo

mponce0 / covid19.analytics Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 11.0 493.95 MB

R package to obtain and analyze live data from the nCOVID19 coronavirus

Home Page: https://mponce0.github.io/covid19.analytics/

License: GNU General Public License v2.0

R 100.00%
covid19 covid19-data ncov2019 r sars-cov-2

covid19.analytics's People

Contributors

crispaslhs avatar mponce0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

covid19.analytics's Issues

growth.rate() bug

The function growth.rate() had a subtle bug which was making the function crash in some cases.
The bug is fixed in the development version of the package, which can be installed using

devtools::install_github("mponce0/covid19.analytics")

The fix will be also included in the next release to CRAN.

covid19.data Does Not Execute in AWS EC2

Is there a library dependency that prevents package executables from existing in AWS EC2? All dependent packages are loaded but data does not update. I am guessing a Linux library dependency is missing in the package documentation.

The acumulate deads for some contries are wrong

Do this, for example

data <- covid19.data("ts-deaths")

x <- data[data$Country.Region == "Germany", ]
y <- as.numeric(x[-(1:4)])
plot(y, type = "l")

Do you see the problem?

If not, try looking at this particular "aggregate number of deads" in these dates:

2020-04-10 2020-04-11
2767 > (cant be) 2736

This also happends for India, and I do not know if for other countries.

Regards,
CE

obviously this is not correct.

covid19.data case = "aggregated" data issue

Running:
covid_data_agg_wide <- covid19.data(case = "aggregated", local.data = FALSE, debrief = FALSE)
results in a mistake illustrated by this record The US Recovered data is returned:

FIPS: NA
Province_State: Recovered
Country_Region: US
2020-08-10 04:34:55
Recovered: 1656864
Active: -2458499
Combined_Key: Recovered, US

install error on oracle rstudio server xml load

Hi, I have setup an Oracle RStudio Server yesterday to have this covid19.analytics package accessible anywhere anytime on web.
Sadly, other such as EpiEstim and other packages installed smoothly but failed multiple times in your package with the following error.

  • installing source package ‘covid19.analytics’ ...
    ** package ‘covid19.analytics’ successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error: .onLoad failed in loadNamespace() for 'XML', details:
    call: dyn.load(file, DLLpath = DLLpath, ...)
    error: unable to load shared object '/usr/local/lib/R/site-library/XML/libs/XML.so':
    libxml2.so.2: cannot open shared object file: No such file or directory
    Execution halted
    ERROR: lazy loading failed for package ‘covid19.analytics’
  • removing ‘/usr/local/lib/R/site-library/covid19.analytics’
    Warning in install.packages :
    installation of package ‘covid19.analytics’ had non-zero exit status

Please advise how to solve.
Thank you very much.

plot.SIR.model

I cannot seem to use the plot.SIR.model function. R could not find the function. Everything seems to be working well except for that function. Am I missing something here or is it part of the experimental aspects of the package?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.