Releases: program--/fipio
Releases · program--/fipio
fipio v1.1.2
What's Changed
- Resolve
coords_to_fips
order list error (#15, #16), thanks to @MarisaBSzubryt for finding the issue.
Full Changelog: v1.1.1...v1.1.2
fipio v1.1.1
What's Changed
- Added Mike Johnson to
DESCRIPTION
. - Fixed
coords_to_fips()
throwing error in some edge cases (#11). - Fixed
as_fips()
throwing error for unknown states. (#10). - Fixed
as_fips()
edge case throwing error (#13).
New Contributors
- @mikejohnson51 made their first contribution in #13
Full Changelog: v1.1.0...v1.1.1
fipio v1.1.0
Major Changes
fipio
now depends on R >= 3.5.0 due to using.rds
and version 3.rda
files.
Enhancements
- Updated internal FIPS table to TIGER 2021.
- Removed
sfheaders
from suggested imports.
New features
- Added the function
coords_to_fips()
, which provides coordinates to FIPS code utility. This is implemented withoutsf
using a simple ray casting algorithm for intersections. Based on a few benchmarks,coords_to_fips()
performs approximately the same as usingsf::st_intersects()
against the geometry table, but is most likely slower in the case of having a large amount of points. - Added the function
as_fips()
, which provides a reverse lookup utility for FIPS codes. - Added
fastmatch
toSuggests
. Iffastmatch
is installed, allfipio
functions utilizingbase::match
will instead usefastmatch::fmatch
.- Note: this addition includes the function
fipio::using_fastmatch()
for debugging purposes, and test coverage for.has_fastmatch()
,using_fastmatch()
, and.onLoad()
are essentially covered by the unit test containing the function calls toexpect_match_assignment()
.
- Note: this addition includes the function
- Added
data-raw/
directory describing process to get internal tables.
Full Changelog: https://github.com/program--/fipio/commits/v1.1.0
fipio v1.0.0
Initial CRAN release
- Provides basic FIPS code information lookups
Full Changelog: https://github.com/program--/fipio/commits/v1.0.0