Description Usage Arguments Value Examples
Defines which column will be used as ID in the dataset and puts it first named as 'id'
1 | get_id_column(data, id = 1)
|
data |
DataFrame to be checked |
id |
Integer or String. This will be checked as possible ID. Default is 1. |
DataFrame with ID column first.
1 2 3 4 5 | ## Not run:
df <- r2vortx::wine
get_id_column(df)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.