url.reader: Read a remote file described in a .url file.
Description
This function will load data from a remote source accessible through
HTTP or FTP based on configuration information found in the specified
.url file. The .url file must specify the URL of the remote data source
and the type of data that is available remotely. Only one data source
per .url file is supported currently.
Usage
url.reader(data.file, filename, variable.name)
Arguments
data.file
The name of the data file to be read.
filename
The path to the data set to be loaded.
variable.name
The name to be assigned to in the global environment.
Value
No value is returned; this function is called for its side effects.
Details
Examples of the DCF format and settings used in a .url file are shown
below:
Example 1
url: http://www.johnmyleswhite.com/ProjectTemplate/sample_data.csv
separator: ,