Learn R Programming

eiCompare (version 3.0.4)

latlong2fips: Latitude-Longitude Coordinates to FIPS Geocode

Description

Converts latitude/longitude coordinates to 15-digit FIPS code. Communicates with FCC API.

Usage

latlong2fips(latitude, longitude, number)

Value

Character string 15-digit FIPS code corresponding to Lat/Long entry

Arguments

latitude

Numeric. Latitude coordinate.

longitude

Numeric. Longitude coordinate.

number

Numeric. Usually part of a loop index counter

Author

Loren Collingwood <loren.collingwood@ucr.edu>

References

https://geo.fcc.gov/api/census/block/