Crandore Hub

Rvoterdistance

Voter Distance to Polling Locations

Calculates the distance between each voter in a voter file (given lat/long coordinates or sf point geometries) and multiple polling or vote-by-mail drop box locations. Returns nearest location, k-nearest locations, or all locations within a distance threshold. Core computation uses the Haversine formula implemented in C++ via 'Rcpp'.

Versions across snapshots

VersionRepositoryFileSize
2.0.0 rolling linux/jammy R-4.5 Rvoterdistance_2.0.0.tar.gz 196.2 KiB
2.0.0 rolling linux/noble R-4.5 Rvoterdistance_2.0.0.tar.gz 196.8 KiB
2.0.0 rolling source/ R- Rvoterdistance_2.0.0.tar.gz 139.7 KiB
2.0.0 latest linux/jammy R-4.5 Rvoterdistance_2.0.0.tar.gz 196.2 KiB
2.0.0 latest linux/noble R-4.5 Rvoterdistance_2.0.0.tar.gz 196.8 KiB
2.0.0 latest source/ R- Rvoterdistance_2.0.0.tar.gz 139.7 KiB
2.0.0 2026-04-23 source/ R- Rvoterdistance_2.0.0.tar.gz 0 B

Dependencies (latest)

Imports

LinkingTo

Suggests