Skip to content

Commit

Permalink
Revert "made draft hexsticker"
Browse files Browse the repository at this point in the history
This reverts commit 1b8fe5b.
  • Loading branch information
joseph-palmer committed Jun 16, 2021
1 parent 1b8fe5b commit 0564367
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -43,7 +43,7 @@ repos:
rev: v3.4.0
hooks:
- id: check-added-large-files
args: ['--maxkb=600']
args: ['--maxkb=200']
- id: end-of-file-fixer
exclude: '\.Rd'
- repo: local
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Expand Up @@ -11,7 +11,7 @@ knitr::opts_chunk$set(
)
```

# Subnational data for the COVID-19 outbreak <img src="man/figures/logo.png" align="right" alt="" width="120" />
# Subnational data for the COVID-19 outbreak

[![Lifecycle: maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html) [![R-CMD-check](https://github.com/epiforecasts/covidregionaldata/workflows/R-CMD-check/badge.svg)](https://github.com/epiforecasts/covidregionaldata/actions) [![Codecov test coverage](https://codecov.io/gh/epiforecasts/covidregionaldata/branch/master/graph/badge.svg)](https://codecov.io/gh/epiforecasts/covidregionaldata?branch=master) [![Data status](https://img.shields.io/badge/Data-status-lightblue.svg?style=flat)](https://epiforecasts.io/covidregionaldata/articles/supported-countries.html) [![metacran downloads](http://cranlogs.r-pkg.org/badges/grand-total/covidregionaldata?color=ff69b4)](https://cran.r-project.org/package=covidregionaldata)

Expand Down
32 changes: 16 additions & 16 deletions README.md
@@ -1,5 +1,5 @@

# Subnational data for the COVID-19 outbreak <img src="man/figures/logo.png" align="right" alt="" width="120" />
# Subnational data for the COVID-19 outbreak

[![Lifecycle:
maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html)
Expand Down Expand Up @@ -27,11 +27,11 @@ both official sources, such as Public Health England in the UK, and from
other Covid-19 data collections, including the World Health Organisation
(WHO), European Centre for Disease Prevention and Control (ECDC), John
Hopkins University (JHU), Google Open Data and others. This package is
designed to streamline Covid-19 data extraction, cleaning, and
processing from a range of data sources in an open and transparent way.
This allows users to inspect and scrutinise the data, and tools used to
process it, at every step. For all countries supported, data includes a
daily time-series of cases and, wherever available, data on deaths,
designed to streamline Covid-19 data extraction, cleaning, and processing
from a range of data sources in an open and transparent way. This allows
users to inspect and scrutinise the data, and tools used to process it,
at every step. For all countries supported, data includes a daily
time-series of cases and, wherever available, data on deaths,
hospitalisations, and tests. National level data is also supported using
a range of data sources as well as line list data and links to
intervention data sets.
Expand Down Expand Up @@ -78,7 +78,7 @@ the temporary directory by default),

``` r
start_using_memoise()
#> Using a cache at: /tmp/RtmprQRl5f
#> Using a cache at: /tmp/RtmpJAeC7J
```

To stop using `memoise` use,
Expand All @@ -103,7 +103,7 @@ the Google COVID-19 open data project), use:
``` r
nots <- get_national_data()
#> Downloading data from https://covid19.who.int/WHO-COVID-19-global-data.csv
#> Rows: 125,724
#> Rows: 124,425
#> Columns: 8
#> Delimiter: ","
#> chr [3]: Country_code, Country, WHO_region
Expand All @@ -115,7 +115,7 @@ nots <- get_national_data()
#> Cleaning data
#> Processing data
nots
#> # A tibble: 125,846 x 15
#> # A tibble: 124,425 x 15
#> date un_region who_region country iso_code cases_new cases_total
#> <date> <chr> <chr> <chr> <chr> <dbl> <dbl>
#> 1 2020-01-03 Asia EMRO Afghanistan AF 0 0
Expand All @@ -128,7 +128,7 @@ nots
#> 8 2020-01-03 Americas AMRO Antigua & Bar… AG 0 0
#> 9 2020-01-03 Americas AMRO Argentina AR 0 0
#> 10 2020-01-03 Asia EURO Armenia AM 0 0
#> # … with 125,836 more rows, and 8 more variables: deaths_new <dbl>,
#> # … with 124,415 more rows, and 8 more variables: deaths_new <dbl>,
#> # deaths_total <dbl>, recovered_new <dbl>, recovered_total <dbl>,
#> # hosp_new <dbl>, hosp_total <dbl>, tested_new <dbl>, tested_total <dbl>
```
Expand Down Expand Up @@ -169,7 +169,7 @@ for example by level 1 region in the UK, use:
``` r
uk_nots <- get_regional_data(country = "UK", verbose = FALSE)
uk_nots
#> # A tibble: 6,539 x 26
#> # A tibble: 6,474 x 26
#> date region region_code cases_new cases_total deaths_new deaths_total
#> <date> <chr> <chr> <dbl> <dbl> <dbl> <dbl>
#> 1 2020-01-30 East Mi… E12000004 NA NA NA NA
Expand All @@ -182,7 +182,7 @@ uk_nots
#> 8 2020-01-30 Scotland S92000003 NA NA NA NA
#> 9 2020-01-30 South E… E12000008 NA NA NA NA
#> 10 2020-01-30 South W… E12000009 NA NA NA NA
#> # … with 6,529 more rows, and 19 more variables: recovered_new <dbl>,
#> # … with 6,464 more rows, and 19 more variables: recovered_new <dbl>,
#> # recovered_total <dbl>, hosp_new <dbl>, hosp_total <dbl>, tested_new <dbl>,
#> # tested_total <dbl>, areaType <chr>, cumCasesByPublishDate <dbl>,
#> # cumCasesBySpecimenDate <dbl>, newCasesByPublishDate <dbl>,
Expand Down Expand Up @@ -256,10 +256,10 @@ using the following,

[![Development](https://img.shields.io/badge/Wiki-lightblue.svg?style=flat)](https://github.com/epiforecasts/covidregionaldata/wiki/)

This package is the result of work from a number of contributors (see
contributors list
[here](https://epiforecasts.io/covidregionaldata/authors.html)). We
would like to thank the [CMMID COVID-19 working
This package is the result of work from a number of contributors
(see contributors list in the
[here](https://epiforecasts.io/covidregionaldata/authors.html)).
We would like to thank the [CMMID COVID-19 working
group](https://cmmid.github.io/groups/ncov-group.html) for inciteful
comments and feedback.

Expand Down
46 changes: 0 additions & 46 deletions inst/make_hexsticker.R

This file was deleted.

Binary file modified man/figures/README-g7_plot-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-uk_plot-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed man/figures/logo.png
Binary file not shown.

0 comments on commit 0564367

Please sign in to comment.