Endpoint returns measurements for an installation closest to a given location
get_nearest_measurements(lat, lng, max_distance = NULL)
lat | latitude as decimal degree |
---|---|
lng | longitude as decimal degree |
max_distance | default value 3.0. All the returned installations must be located within this limit from the given point (in km). Negative value means no limit |
data.frame of airly_measurements items
# \donttest{ get_nearest_measurements(50.11670, 19.91429, max_distance = 10)#> Error: You have to set apikey first! See set_apikey function.# }