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 |
Maintainer: | Dirk Eddelbuettel <[email protected]> |
License: | GPL (>= 2) |
Version: | 0.0.3 |
Built: | 2024-08-25 04:40:09 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
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"))