digest_to_checksum: Computes an checksum from columns

View source: R/digest_to_checksum.R

digest_to_checksumR Documentation

Computes an checksum from columns

Description

Computes an checksum from columns

Usage

digest_to_checksum(.data, col = "checksum", exclude = NULL)

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.

Details

In most cases, the md5 algorithm is used to compute the checksums. For Microsoft SQL Server, the SHA-256 algorithm is used.

Value

.data with a checksum column added.

Examples

  digest_to_checksum(mtcars)

SCDB documentation built on Oct. 4, 2024, 1:09 a.m.