% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spectra-fetch-labels.R
\name{.query_nearest_wosis_wrb}
\alias{.query_nearest_wosis_wrb}
\title{Query WoSIS GraphQL for the nearest WRB-labeled profile.}
\usage{
.query_nearest_wosis_wrb(
  lat,
  lon,
  max_distance_km,
  endpoint = "https://graphql.isric.org/wosis/graphql",
  verbose = FALSE
)
}
\description{
Returns \code{NULL} on transport failure; \code{NA} fields when
the bbox has no labeled WoSIS profile.
}
\keyword{internal}
