get_open_ottawa: Get Open Ottawa Data

Description Usage Arguments Examples

View source: R/open_ottawa.R

Description

Function used to download single xlsx files from open ottawa

Usage

1
2
3
4
5
get_open_ottawa(
  url_end,
  file_dest = paste0(getwd(), "/new_data.xlsx"),
  load_data = TRUE
)

Arguments

url_end

the part of the url after https://open.ottawa.ca/datasets/

file_dest

the location and name of the file to save make sure it ends with .xlsx

load_data

should the data be loaded into a data table

Examples

1
tmp <- get_open_ottawa(url_end = "covid-19-hospitalization-data-for-ottawa-residents", file_dest = paste0(getwd(), "/new_data.xlsx"))

Big-Life-Lab/openottawar documentation built on June 28, 2020, 4:03 p.m.