Description Usage Arguments Value Note Examples
Loads a JSON file, returning the result as a SparkDataFrame
By default, (JSON Lines text format or newline-delimited JSON
) is supported. For JSON (one record per file), set a named property multiLine
to
TRUE
.
It goes through the entire dataset once to determine the schema.
1 |
path |
Path of file to read. A vector of multiple paths is allowed. |
... |
additional external data source specific named properties. |
SparkDataFrame
read.json since 1.6.0
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.