spark-tbl: Create a 'spark_tbl'

Description Usage Arguments Value Examples

Description

Create a spark_tbl

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
spark_tbl(.df, ...)

## S3 method for class 'data.frame'
spark_tbl(.df, ...)

## S3 method for class 'SparkDataFrame'
spark_tbl(.df, ...)

createDataFrame(.df, ...)

is.spark_tbl(.df)

Arguments

.df

object coercible to spark_tbl

...

any other arguments passed to spark_tbl, currently unused

Value

an object of class spark_tbl

Examples

1
2
3
4
5
6
## Not run: 
spark_tbl(iris)
spark_tbl(tibble(x = 1:10, y = 10:1))
spark_tbl(SparkR::as.DataFrame(iris))

## End(Not run)

danzafar/tidyspark documentation built on Sept. 30, 2020, 12:19 p.m.