Learn R Programming

covid19.analytics (version 2.1.3.3)

covid19.URL_csv.data: 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
)

Value

data as oriignally obtained from the URL src

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