Title: | Interface to the Google 'FarmHash' Family of Hash Functions |
---|---|
Description: | The Google 'FarmHash' family of hash functions is used by the Google 'BigQuery' data warehouse via the 'FARM_FINGERPRINT' function. This package permits to calculate these hash digest fingerprints directly from R, and uses the included 'FarmHash' files written by G. Pike and copyrighted by Google, Inc. |
Authors: | Dirk Eddelbuettel [aut, cre] , Geoff Pike [aut] (Author of FarmHash), Google, Inc. [cph] (Copyright for FarmHash) |
Maintainer: | Dirk Eddelbuettel <[email protected]> |
License: | GPL (>= 2) |
Version: | 0.0.3 |
Built: | 2024-11-12 06:11:46 UTC |
Source: | https://github.com/eddelbuettel/rcppfarmhash |
The Google 'FarmHash' family of hash functions is used by the Google 'BigQuery' data warehouse via the 'FARM_FINGERPRINT' function. This package permits to calculate these hash digest fingerprints directly from R, and uses the included 'FarmHash' files written by G. Pike and copyrighted by Google, Inc.
Index of help topics:
RcppFarmHash-package Interface to the Google 'FarmHash' Family of Hash Functions farmhash Compute a 'FarmHash' digest for a vector of strings
Dirk Eddelbuettel <[email protected]>
Dirk Eddelbuettel [aut, cre] (<https://orcid.org/0000-0001-6419-907X>), Geoff Pike [aut] (Author of FarmHash), Google, Inc. [cph] (Copyright for FarmHash)
Compute a 'FarmHash' digest for a vector of strings
farmhash(sv)
farmhash(sv)
sv |
Vector of strings for which a hash digest is requested |
A vector of integer64
values (using the bit64
package to ‘decode’ the appropriate binary payload from a numeric
vector).
if (requireNamespace("bit64", quietly=TRUE)) { suppressMessages(library(bit64)) } farmhash(c("foo", "bar", "baz"))
if (requireNamespace("bit64", quietly=TRUE)) { suppressMessages(library(bit64)) } farmhash(c("foo", "bar", "baz"))