coords_to_fips()
throwing order
error due to ret_index
being a list (#15)DESCRIPTION
.coords_to_fips()
throwing error in some edge cases (#11).as_fips()
throwing error for unknown states. (#10).as_fips()
edge case throwing error (#13).fipio
now depends on R >= 3.5.0 due to using .rds
and version 3 .rda
files.sfheaders
from suggested imports.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.as_fips()
, which provides a reverse lookup utility for FIPS codes.fastmatch
to Suggests
. If fastmatch
is installed, all fipio
functions utilizing base::match
will instead use fastmatch::fmatch
.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()
.data-raw/
directory describing process to get internal tables.NEWS.md
file to track changes to the package.fips_abbr()
- Gets state abbreviation.fips_state()
- Gets state name.fips_county()
- Gets county name.fips_geometry()
- Gets geometry.fips_metadata()
- Gets the information above as a data.frame
.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.