Added lang = es,en to DESCRITPION file to solve Nu HTML checker problem as requested by CRAN Team
httr2 for API
Communication: All functions interacting with the
georef-ar-api (including get_endpoint, all
post_*_bulk functions, and get_geodata_dump)
have been refactored to use the httr2 package instead of
httr. This provides a more modern and flexible HTTP client
interface.post_*_bulk functions now leverage httr2 and
promises to perform multiple batch requests to the API in
parallel. This significantly improves performance when submitting a
large number of queries (e.g., thousands of addresses for normalization)
by:
max parameters <= 5000 per batch).httr2’s mechanisms,
providing clearer error messages.httr from Imports.httr2 (>= 1.0.0) and
promises (>= 1.2.0) to Imports.post_endpoint() function; its
logic is now integrated into new helper functions
(create_query_batches,
execute_post_batch_promise,
process_single_post_response) that manage batching and
parallel execution for POST requests.post_*_bulk() functions
(post_provincias_bulk(),
post_departamentos_bulk(),
post_municipios_bulk(),
post_localidades_bulk(),
post_localidades_censales_bulk(),
post_asentamientos_bulk(), post_calles_bulk(),
post_direcciones_bulk(),
post_ubicacion_bulk()) to allow for bulk queries to the
corresponding georef-ar-api endpoints using the POST
method. This enables sending multiple queries in a single API
request.post_*_bulk() function includes enhanced input
validation for the queries_list parameter, providing
warnings for unrecognized parameter names within individual queries to
guide correct usage.get_geodata_dump() function to download entire
datasets (provincias, departamentos, etc.) in various formats (CSV,
JSON, GeoJSON, NDJSON) directly from the API.get_calles() function now exclusively handles GET
requests; POST functionality for streets is managed by
post_calles_bulk().R/georefar.R functions has
been updated from HTTP to HTTPS
(https://apis.datos.gob.ar/georef/api/) for secure
communication.post_endpoint() function to
correctly construct JSON bodies for POST requests and parse API
responses, especially for bulk operations.post_*_bulk() functions and basic validation for
get_geodata_dump().Ready for CRAN re submission
PKGNAME tagstop for warning in
get_endpoint() internal function for georefar
family functions.Modify georefar get_* family functions:
TOKEN workflow alternative (documented)get_asentamientos &
get_asentamientosAdded georefar (R
wrapper for georef-ar API) get_* family functions
First CRAN version
get_bahra() function for a new data source: Base de
Asentamientos Humanos de la República Argentina (BAHRA)
Added levels (envolvente,
radios and entidades) &
centroid (FALSE/TRUE) param to
get_eph() function.
Added new features
Geometry reconstruction for every CENSO (1869 - 2010). Example:
Using get_censo(censo = "1991", simplified = T).
Permanent Household Survey (Encuesta Permanente de Hogares - EPH)
Urban Aglomerations Geometries. Using
get_eph(geo = 'TUCUMAN', simplified = FALSE) for
example.
get_geo(geo = 'TUCUMAN', level = 'censal', simplified = FALSE)NEWS.md file to track changes to the
package.get_geo("BUENOS AIRES")