GetFromGuzmart: Get Covid-19 Data From Katia Guzman's GitHub repo

Description Usage Arguments Details Value

Description

Get Covid-19 Data From Katia Guzman's GitHub repo

Usage

1
2
3
  GetFromGuzmart(targetURL = "https://github.com/guzmart/covid19_mex/raw/master/01_datos/",
  filePrefix = "covid_mex_", fileExt = ".xlsx", date = "today",
  neat = TRUE)

Arguments

targetURL

Target URL of the HTTP request. character vector of length 1.

filePrefix

Target file prefix in GitHub repo. character vector of length 1.

fileExt

Target file extension in GitHub repo. character vector of length 1.

date

Date (version) of the report. character vector of length 1 or Date object. #' If character, date must be in day/month/year format.

neat

Should data be cleaned (dates, state name, column names)? logical vector of length 1.

Details

Mexico's Ministry of Health publishes a daily report containing data about positive and suspected cases of Covid-19 cases in the country (Comunicado Técnico Diario). However, this report is published as a PDF document, difficulting further analysis. Katia Guzman makes an open format version of the report that it's also manually checked for errors and includes a column with the date when the case was first registered in the official count.

**WARNING: Data from Guzmart repository stopped daily updates on 06/04/2020. In future versions of this package, this source will be removed.**

Value

A 'tibble' with 9 columns: Case Number, State, Sex, Age, Symptoms Onset Date, COVID-19 Test Result, Country Visited, Date of Arrival to Mexico, and Date when case officialy registered.


pablorm296/covidMex documentation built on May 2, 2020, 4:56 p.m.