# \donttest{
# Download a full table
owid_get("life-expectancy")
# Download a table only for selected entities
owid_get("life-expectancy", c("AUS", "AUT", "GER"))
# Download a table only for selected time periods
owid_get("life-expectancy", c("USA"), 1970, 1980)
# Download daily data for selected time periods
owid_get(
"daily-covid-vaccination-doses-per-capita", "DEU",
"2020-12-28", "2020-12-31"
)
# Download a table by just providing an URL (with or without .csv)
owid_get(
url = paste0(
"https://ourworldindata.org/grapher/civil-liberties-score-fh",
"?tab=chart&time=earliest..2023&country=ARG~AUS~BWA~CHN~ALB~DEU"
)
)
owid_get(
url = paste0(
"https://ourworldindata.org/grapher/civil-liberties-score-fh.csv",
"?tab=chart&time=earliest..2023"
)
)
# }
Run the code above in your browser using DataLab