diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 30d4aab..6b9cd36 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -1,7 +1,7 @@ name: CRON on: schedule: - - cron: '10 5 * * *' + - cron: '0 22 * * *' jobs: cron: services: diff --git a/Project.toml b/Project.toml index e30086d..b427cc7 100644 --- a/Project.toml +++ b/Project.toml @@ -18,13 +18,15 @@ TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53" [compat] CSV = "0.6" Diana = "0.2" +Documenter = "0.24" +Intervals = "1" JSON3 = "1" LibPQ = "1.2" Parameters = "0.12" StatsBase = "0.33" TableOperations = "0.2" TimeZones = "1" -julia = "1.1" +julia = "1" [extras] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" diff --git a/README.md b/README.md index 7fcd638..0716bbe 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ For more infomation on our [COVID-19 Research](https://nssac.github.io/covid-19/ | **Documentation** | **Continous Integration** | |:-----------------:|:--------------------------------:| | [![][dsi]][dsu] | [![CI][bsi]][bsu] | -| [![][ddi]][ddu] | [![CRON][croni]][cronu] | -| [![][li]][lu] | [![codecov][codecovi]](codecovu) | +| [![][ddi]][ddu] | [![CRON][croni]][cronu] | +| [![][li]][lu] | [![codecov][codecovi]][codecovu] | [ddi]: https://img.shields.io/badge/docs-dev-blue?style=plastic [ddu]: https://uva-bi-sdad.github.io/COVID_Tracking_Clean/dev/ diff --git a/docs/src/index.md b/docs/src/index.md index 555ae24..0716bbe 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -1,9 +1,34 @@ # COVID-19-COVID-Tracking-Clean -This repository takes data from: [COVID19Tracking/covid-tracking-data](https://github.com/COVID19Tracking/covid-tracking-data) and provides -a clean table under `data/daily.tsv`. +This is a tool by the Network Systems Science and Advanced Computing (NSSAC) division of the Biocomplexity Institute & Initiative at University of Virginia. + +For more infomation on our [COVID-19 Research](https://nssac.github.io/covid-19/index) visit our website. + +| **Documentation** | **Continous Integration** | +|:-----------------:|:--------------------------------:| +| [![][dsi]][dsu] | [![CI][bsi]][bsu] | +| [![][ddi]][ddu] | [![CRON][croni]][cronu] | +| [![][li]][lu] | [![codecov][codecovi]][codecovu] | + +[ddi]: https://img.shields.io/badge/docs-dev-blue?style=plastic +[ddu]: https://uva-bi-sdad.github.io/COVID_Tracking_Clean/dev/ +[dsi]: https://img.shields.io/badge/docs-stable-blue?style=plastic +[dsu]: https://uva-bi-sdad.github.io/COVID_Tracking_Clean/stable/ +[li]: https://img.shields.io/github/license/uva-bi-sdad/COVID_Tracking_Clean?style=plastic +[lu]: https://choosealicense.com/licenses/zlib/ + +[bsi]: https://github.com/uva-bi-sdad/COVID_Tracking_Clean/workflows/CI/badge.svg +[bsu]: https://github.com/uva-bi-sdad/COVID_Tracking_Clean/actions?workflow=CI +[croni]: https://github.com/uva-bi-sdad/COVID_Tracking_Clean/workflows/CRON/badge.svg +[cronu]: https://github.com/uva-bi-sdad/COVID_Tracking_Clean/actions?workflow=CRON + +[codecovi]: https://codecov.io/gh/uva-bi-sdad/COVID_Tracking_Clean/branch/master/graph/badge.svg +[codecovu]: https://codecov.io/gh/uva-bi-sdad/COVID_Tracking_Clean + +This repository takes data from: [COVID Tracking Data (CSV)](https://github.com/COVID19Tracking/covid-tracking-data) and provides a clean table under `data/daily.tsv`. + +## Data schema -The data schema is: - `state::char(2) NOT null` - `checkts::timestampt NOT null` - `positive::integer` @@ -15,6 +40,9 @@ The data schema is: per the specification from the COVID Tracking Project [metadata](https://covidtracking.com/about-tracker). -It runs daily at `22:00:00.000 UTC`. +It runs daily at `22:00:00.000 UTC` (i.e., after 17:00 `America/New_York` when the data is updated daily) -This is a solution mostly in response to [COVID19Tracking/covid-tracking-api#11](https://github.com/COVID19Tracking/covid-tracking-api/issues/11). +## Related issues: +- [Adding grade and score to states/daily](https://github.com/COVID19Tracking/covid-tracking-api/issues/11) +- [Add state grades to historical data](https://github.com/COVID19Tracking/covid-tracking-data/issues/22) +- [api/state/daily Is out of date with spreadsheet](https://github.com/COVID19Tracking/covid-tracking-api/issues/30)