powered by
Add a prefixed identifier to the first column of the dataset.
id_to_column(x, prefix = "eg:", ids = NULL)
A dataset conforming the original sub-class of x.
x
A dataset created with dataset_df.
dataset_df
Defaults to eg: (example.com).
eg:
Defaults to NULL.
NULL
# 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")
Run the code above in your browser using DataLab