vs_read_csv {variantspark} | R Documentation |
Reading a CSV file
Description
The vs_read_csv()
reads a CSV file format and returns a jobj
object from CsvFeatureSource
scala class.
Usage
vs_read_csv(vsc, path)
Arguments
vsc |
A variantspark connection. |
path |
The file's path. |
Value
spark_jobj, shell_jobj
Examples
## Not run:
library(sparklyr)
sc <- spark_connect(master = "local")
vsc <- vs_context(sc)
hipster_labels <- vs_read_csv(vsc,
system.file("extdata/hipster_labels.txt",
package = "variantspark"))
hipster_labels
## End(Not run)
[Package variantspark version 0.1.1 Index]