covid19.URL_csv.data: function to read CSV from URLs or local replicas

View source: R/covid19_Canada.R

covid19.URL_csv.dataR Documentation

function to read CSV from URLs or local replicas

Description

function to read CSV from URLs or local replicas

Usage

covid19.URL_csv.data(
  local.data = FALSE,
  acknowledge = FALSE,
  srcURL = "",
  srcName = "",
  locFileName = NA,
  locVarName = NA
)

Arguments

local.data

boolean flag to indicate whether the data will be read from the local repo, in case of connectivity issues or data integrity

acknowledge

boolean flag to indicate that the user acknowledges where the data is coming from. If FALSE, display data acquisition messages.

srcURL

URL from where to obtain the data

srcName

name of the source

locFileName

name of the file to read from local repo

locVarName

name of the variable loaded from local file

Value

data as oriignally obtained from the URL src


covid19.analytics documentation built on Aug. 18, 2022, 9:06 a.m.