View source: R/dataset_to_triples.R
dataset_to_triples | R Documentation |
The dataset is converted into a three-column long format with
columns s
for subject, p
for predicate and o
for
object.
dataset_to_triples(x, idcol = NULL)
x |
An R object that contains the data of the dataset (a data.frame or
inherited from |
idcol |
The identifier column. If |
The long form version of the original dataset, retaining the attributes and class.
dataset_to_triples(iris_dataset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.