id_to_column | R Documentation |
Add a prefixed identifier to the first column of the dataset.
id_to_column(x, prefix = "eg:", ids = NULL)
x |
A dataset created with |
prefix |
Defaults to |
ids |
Defaults to |
A dataset conforming the original sub-class of x
.
# Example with a dataset_df object:
id_to_column(iris_dataset)
# Example with a data.frame object:#'
id_to_column(iris, prefix="eg:iris-o")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.