powered by
Function to create an id column from a character column
create_id_column(df, col)
the dataframe that is used
the column name in NSE format that should be converted
a dataframe with an additional gghid column
# NOT RUN { mtcars %>% tibble::rownames_to_column() %>% create_id_column(rowname) # }
Run the code above in your browser using DataLab