# \donttest{
# example of data to interpolate and example interpolator
data("points_to_interpolate_example")
data("meteoland_interpolator_example")
# interpolate data
res <- interpolate_data(points_to_interpolate_example, meteoland_interpolator_example)
# check result
# same class as input data
class(res)
# data
res
# results for the first location
res[["interpolated_data"]][1]
# unnest results
tidyr::unnest(res, cols = "interpolated_data")
# }
Run the code above in your browser using DataLab