diff --git a/docs/news/index.html b/docs/news/index.html index 0392d53..599d244 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -133,6 +133,9 @@

  • updated pull functions for population

  • added datasets for population

  • added dataset for mapping of data sources

  • +
  • updated README to describe new function specifications

  • +
  • added pattern to recognise variant dates on filename of README which changed in format for 2020-06-18 (from MM/DD to MM_DD) which caused an error

  • +
  • added codefactor checks CodeFactor

  • diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index d726923..fee00da 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -3,7 +3,7 @@ pkgdown: 1.5.1 pkgdown_sha: ~ articles: model: model.html -last_built: 2020-06-19T12:08Z +last_built: 2020-06-19T12:58Z urls: reference: https://como-ph.github.io/comoparams/reference article: https://como-ph.github.io/comoparams/articles diff --git a/docs/reference/ph_calculate_cases.html b/docs/reference/ph_calculate_cases.html index d7440cd..d3682c7 100644 --- a/docs/reference/ph_calculate_cases.html +++ b/docs/reference/ph_calculate_cases.html @@ -156,8 +156,21 @@

    Value

    with CoMo model data structure requirements.

    Examples

    -
    df <- ph_get_cases()
    #> Getting information on Google Drive directory structure of the DoH Data Drop for latest available data up to 2020-06-18.
    #> Error in curl::curl_download(url = link, destfile = destFile): HTTP error 403.
    ph_calculate_cases(df = df)
    #> Error: object of type 'closure' is not subsettable
    -
    +
    df <- ph_get_cases()
    #> Getting information on Google Drive directory structure of the DoH Data Drop for latest available data up to 2020-06-18.
    ph_calculate_cases(df = df)
    #> # A tibble: 170 x 4 +#> repDate cases deaths recovered +#> <date> <dbl> <dbl> <dbl> +#> 1 2020-01-01 0 0 0 +#> 2 2020-01-02 0 0 0 +#> 3 2020-01-03 0 0 0 +#> 4 2020-01-04 0 0 0 +#> 5 2020-01-05 0 0 0 +#> 6 2020-01-06 0 0 0 +#> 7 2020-01-07 0 0 0 +#> 8 2020-01-08 0 0 0 +#> 9 2020-01-09 0 0 0 +#> 10 2020-01-10 0 0 0 +#> # … with 160 more rows
    +