R/01-ph_datadrop.R
ph_get_fields.Rd
A wrapper to googledrive and googlesheets4 functions to pull data from the Philppines' COVID-19 Data Drop resource that is publicly distributed via Google Drive
ph_get_fields(version = "current", date = NULL)
version | A character value specifying whether to get the most
currently available dataset ( |
---|---|
date | Date in <YYYY-MM-DD> format; This is the date up to which
extracted data reports to. Only used when |
A tibble of metadata for the fields used in the various datasets distributed via the COVID-19 Data Drop
ph_get_fields()#>#> # A tibble: 61 x 7 #> Sheet Field Description Type Question.Format Possible.Respon… Purpose #> <chr> <chr> <chr> <chr> <chr> <chr> <chr> #> 1 Case … CaseC… Random code ass… Text "" "" "" #> 2 Case … Age Age Numb… "" "" "" #> 3 Case … AgeGr… Five-year age g… Text "" "" "" #> 4 Case … Sex Sex Text "" "" "" #> 5 Case … DateS… Date when speci… Date "" "" "" #> 6 Case … DateR… Date of release… Date "" "" "" #> 7 Case … DateR… Date publicly a… Date "" "" "" #> 8 Case … DateD… Date died Date "" "" "" #> 9 Case … DateR… Date recovered Date "" "" "" #> 10 Case … Remov… Type of removal… Text "" "" "" #> # … with 51 more rows