njgeo
An R package for geocoding addresses using New Jersey's official geocoding service, freely available as an alternative to commercial solutions.
CRAN
Platform
MIT
License
Free
Cost
Overview
njgeo is an R package that provides an interface to the geocoding REST APIs maintained by the New Jersey Office of GIS (NJOGIS). Unlike commercial services, these APIs are freely available to use and support geocoding addresses and intersections in New Jersey.
Features
- Batch Geocoding: Geocode up to 1000 addresses at once
- Reverse Geocoding: Convert coordinates to addresses
- Address Candidates: Get multiple potential matches for ambiguous addresses
- Boundary Data: Access state, county, and municipal boundaries
- Free to Use: No API keys or usage limits
Use Cases
This package enables researchers and analysts to:
- Geocode large datasets of New Jersey addresses
- Create maps and visualizations with precise coordinates
- Perform spatial analysis without commercial geocoding costs
- Access New Jersey-specific geographic data
Technical Details
The package provides a clean R interface to NJOGIS REST APIs, handling:
- Request formatting and submission
- Response parsing and error handling
- Coordinate reference system transformations
- Integration with sf (Simple Features) package