Description Usage Arguments Value
Get an ID for each row or for each combination of values across columns.
1 2 | ezr.make_ids(dataset, unique_by_row = TRUE, grouping_fields = NULL,
id_field_name = "myid")
|
dataset |
dataset |
unique_by_row |
TRUE by default. Each record will be numbered 1...nrow(dataset) |
grouping_fields |
Set unique_by_row to FALSE. This creates a group-by-variable ID |
id_field_name |
What should the new column be called. Default is 'myid' |
Returns a dataframe with ID added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.