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-06-26 04:28:10 UTC |

Source: | https://github.com/eddelbuettel/rcppfarmhash |

- Interface to the Google 'FarmHash' Family of Hash Functions
- Compute a 'FarmHash' digest for a vector of strings

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"))`