rowid | R Documentation |
Extension of dplyr::row_number(). This generates 001 if there are more than 100 observations.
rowid(prefix = "id", suffix = "")
prefix |
Character. Prefix of the generated id. Default is "id". |
suffix |
Character. Suffix of the generated id. Default is "". |
tibble::tibble(x = 1:1000) |>
dplyr::mutate(id = rowid())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.