load_globalCOVID: Load global data

Description Usage Value Author(s) Examples

View source: R/load_globalCOVID.R

Description

Load global data of SARS_CoV-2. This function obtain data from [CSSEGI-Johns Hopkins](https://github.com/CSSEGISandData/COVID-19 and it is built from other repos. [like this]https://github.com/DrFabach/Corona

Usage

1

Value

This function returns different objects to your Global Environment.

data_deaths: dataframe. The number of global deaths by day due to COVID.

data_positives: dataframe. The number of SARS-CoV-2(+).

data_recovered: dataframe. The number of recovered from SARS-CoV-2(+).

inc_matrix: dataframe. The global active cases by country and day.

propab_matrix: dataframe The global active cases/country population by country and day.

inc_df: dataframe. A three column dataframe with country, date and the number of active cases.

propab_df: dataframe. A three column dataframe with country, date and the proportional abundance of active cases.

sumCases: numeric vector. The global sum of SARS-CoV-2(+) by day.

avCases: numeric vector. The global average of SARS-CoV-2(+) by day.

Author(s)

Simon P Castillo spcastil@uc.cl.

Examples

1

simonpcastillo/CPAD documentation built on Dec. 31, 2020, 7:27 a.m.