Skip to content

Commit

Permalink
v0.1.0
Browse files Browse the repository at this point in the history
Initial Public Release.
  • Loading branch information
Nosferican committed Apr 3, 2020
1 parent 9437657 commit ffc8f6a
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CRON
on:
schedule:
- cron: '10 5 * * *'
- cron: '0 22 * * *'
jobs:
cron:
services:
Expand Down
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
38 changes: 33 additions & 5 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -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`
Expand All @@ -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)

0 comments on commit ffc8f6a

Please sign in to comment.