get_data_covid19_hierarchical: Scrap and format data from opencovid19-fr

Description Usage Arguments Examples

View source: R/get_data_covid19_hierarchical.R

Description

Scrap and format data from opencovid19-fr

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get_data_covid19_hierarchical(
  maille_cd = "FRA",
  sources_hierarchy = c("sante-publique-france", "ministere-sante",
    "agences-regionales-sante", "opencovid19-fr"),
  date_start = NULL,
  date_end = NULL,
  metropole = FALSE,
  update_from_source_url = FALSE,
  epidemic_start = TRUE
)

Arguments

maille_cd

a character sting indicating the code

epidemic_start

a logical indicating wehter to left-truncate data at the start of the epidemics. The start of the epidemics is the first date

source_ch

a character string either "sante-publique-france" or "agences-regionales-sante" or "ministere-sante". Other sources are available but not so reliable...

Examples

1
2
3
4
5
data_FR <- get_data_covid19_hierarchical(maille_cd = "FRA")
#View(data_FR)

data_NA <- get_data_covid19_hierarchical(maille_cd = "REG-75")
#View(data_NA)

sistm/SEIRcovid19 documentation built on Aug. 9, 2021, 7:37 a.m.