read.csvdata: Read CSV from local directory or Internet

Description Usage Arguments

Description

It is lazy, i.e. it does not read the csv in until requested. It does read in the metadata, though. If according to the dataset meta data an update is due, an update process is performed.

Usage

1
2
3
read.csvdata(resource, location = NULL, name = resource,
  update.fct = function(csv) return(data.frame()), verbose = TRUE,
  clss = "CsvData")

Arguments

resource

the name of the resource. Required.

location

either a Location object, or a character pointing to a local directory or an url. See details.

name

the physical name of the resource. Defaults to resource.

update.fct

function for updating the data. the update method and update interval is specified as meta data. Default is a function that returns an empty data.frame.

verbose

Print diagnostic messages, default is TRUE.

clss

class to construct. Defaults to CsvData.


datamart documentation built on May 2, 2019, 9:40 a.m.