TidyFileResourceResolver | R Documentation |
Tidy file Resource resolver
Tidy file Resource resolver
A R6 object of class TidyFileResourceResolver
The resource is a file and data format is handled by a reader from tidyverse. The data format is one of: csv (comma delimiter), csv2 (semicolon delimiter), tsv (tab delimiter), ssv (space delimiter), delim (delim parameter to be specified in the URL, default is space char), spss, sav, por, stata, dta, sas, xpt, excel, xls, xlsx.
$new()
Create new TidyFileResourceResolver instance.
$isFor(x)
Get a logical that indicates that the resolver is applicable to the provided resource object.
$newClient()
Make a client for the provided resource.
resourcer::ResourceResolver
-> TidyFileResourceResolver
isFor()
Check that the provided resource has a URL that locates a tidy data file: the resource can be accessed as a file and the resource format is one of "csv", "csv2", "tsv", "delim", "ssv", "spss", "sav", "por", "stata", "dta", "sas", "xpt", "excel", "xls" or "xlsx" (case is ignored).
TidyFileResourceResolver$isFor(x)
x
The resource object to validate.
A logical.
newClient()
Creates a TidyFileResourceClient instance from provided resource.
TidyFileResourceResolver$newClient(x)
x
A valid resource object.
A TidyFileResourceClient object.
clone()
The objects of this class are cloneable with this method.
TidyFileResourceResolver$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.