Usage
source_data(url, sha1 = NULL, cache = FALSE, clearCache = FALSE,
sep = ",",
quote = "\"'", header = TRUE, stringsAsFactors = default.stringsAsFactors(), ...)
Arguments
url
The plain-text formatted data's URL.
sha1
Character string of the file's SHA-1 hash, generated by
source_data. Note if you are using data stored using Git, this is not
the file's commit SHA-1 hash.
cache
logical. Whether or not to cache the data so that it is not
downloaded every time the function is called.
clearCache
logical. Whether or not to clear the downloaded data from
the cache.
sep
The separator method for the data. For example, to load
comma-separated values data (CSV) use sep = "," (the default). To load
tab-separated values data (TSV) use sep = "t".
quote
the set of quoting characters. To disable quoting altogether,
use quote = "". See scan for the behaviour on quotes
embedded in quotes. header
Logical, whether or not the first line of the file is the
header (i.e. variable names). The default is header = TRUE.
stringsAsFactors
logical. Should character vectors be converted to
factors? Note that this is overridden by as.is and colClasses,
both of which allow finer control.