Skip to contents


fipio 1.1.0

CRAN release: 2022-01-04

  • fipio now depends on R >= 3.5.0 due to using .rds and version 3 .rda files.


  • 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 without sf using a simple ray casting algorithm for intersections. Based on a few benchmarks, coords_to_fips() performs approximately the same as using sf::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 to Suggests. If fastmatch is installed, all fipio functions utilizing base::match will instead use fastmatch::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 to expect_match_assignment().
  • Added data-raw/ directory describing process to get internal tables.

fipio 1.0.0

CRAN release: 2021-10-11