lookup_xy | R Documentation |
Lookup spatial data for a set of points.
lookup_xy(data, shoredistance=TRUE, grids=TRUE, areas=FALSE,
asdataframe=TRUE)
data |
The data frame with columns sample_longitude_dd and sample_latitude_dd. |
shoredistance |
Indicate whether the shoredistance should be returned
(default |
grids |
Indicate whether the grid values such as temperature and
bathymetry should be returned (default |
areas |
Indicate whether the area values should be returned and from
which distance in meters to the provided points (default |
asdataframe |
Indicate whether a dataframe or a list should be returned
(default |
When asdataframe
is FALSE
then data is returned in the
same order as the requested data as a list, with for each list item the
requested values. For invalid coordinates NULL
is returned.
When parameter areas
is a positive integer then all areas within a radius of
this distance in meters will be returned. A value of TRUE
is
equivalent to a distance of 0 meters, FALSE
indicates that no area
results are required.
Data frame or list with the values for the different requested fields.
check_onland
check_depth
## Not run:
lookup_xy(abra, shoredistance = TRUE, grids = TRUE, areas = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.