Usage
## Default method:
h2o.importURL(object, path, key = "", parse = TRUE, header,
sep = "", col.names, version = 2)
## Import to a ValueArray object:
h2o.importURL.VA(object, path, key = "", parse = TRUE, header,
sep = "", col.names)
## Import to a FluidVecs object:
h2o.importURL.FV(object, path, key = "", parse = TRUE, header,
sep = "", col.names)
Arguments
object
An H2OClient
object containing the IP address and port of the server running H2O.
path
The complete URL of the file to be imported. Each row of data appears as one line of the file.
key
(Optional) The unique hex key assigned to the imported file. If none is given, a key will automatically be generated based on the URL path.
parse
(Optional) A logical value indicating whether the file should be parsed after import.
header
(Optional) A logical value indicating whether the first row is the column header. If missing, H2O will automatically try to detect the presence of a header.
sep
(Optional) The field separator character. Values on each line of the file are separated by this character. If sep = ""
, the parser will automatically detect the separator.
col.names
(Optional) A H2OParsedDataVA
(version = 1
) or H2OParsedData
(version = 2
) object containing a single delimited line with the column names for the fil
version
(Optional) If version = 1
, the file will be imported to a ValueArray object. Otherwise, if version = 2
, the file will be imported as a FluidVecs object.