# -------------------------------------------- # CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "Rvoterdistance" in publications use:' type: software license: GPL-2.0-or-later title: 'Rvoterdistance: Voter Distance to Polling Locations and Geographic Boundaries' version: 2.1.0 doi: 10.32614/CRAN.package.Rvoterdistance abstract: 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. Also computes minimum distance from voters to geographic boundaries such as rivers, state borders, or district lines provided as 'sf' line or polygon geometries. Core computation uses the Haversine formula and spherical cross-track distance implemented in C++ via 'Rcpp'. authors: - family-names: Collingwood given-names: Loren email: lcollingwood@unm.edu repository: https://lorenc5.r-universe.dev repository-code: https://github.com/lorenc5/Rvoterdistance commit: 7627243b8eff87ece4245aff58832f3c65d318b7 url: https://github.com/lorenc5/Rvoterdistance date-released: '2026-05-29' contact: - family-names: Collingwood given-names: Loren email: lcollingwood@unm.edu