powered by
Computes an checksum from columns
digest_to_checksum(.data, col = "checksum", exclude = NULL)
.data with a checksum column added.
(data.frame(1), tibble(1), data.table(1), or tbl_dbi(1)) Data object.
data.frame(1)
tibble(1)
data.table(1)
tbl_dbi(1)
(character(1)) Name of the column to put the checksums in. Will be generated if missing.
character(1)
(character()) Columns to exclude from the checksum generation.
character()
In most cases, the md5 algorithm is used to compute the checksums. For Microsoft SQL Server, the SHA-256 algorithm is used.
digest_to_checksum(mtcars)
Run the code above in your browser using DataLab