digest_to_checksum: Computes an checksum from columns
Description
Computes an checksum from columns
Usage
digest_to_checksum(.data, col = "checksum", exclude = NULL, warn = TRUE)
Value
.data with a checksum column added.
Arguments
- .data
(data.frame(1), tibble(1), data.table(1), or tbl_dbi(1))
Data object.
- col
(character(1))
Name of the column to put the checksums in. Will be generated if missing.
- exclude
(character())
Columns to exclude from the checksum generation.
- warn
(logical(1))
Warn if col exists in the input data?
Details
In most cases, the md5 algorithm is used to compute the checksums.
For Microsoft SQL Server, the SHA-256 algorithm is used.