filterToGeolocationViewport | R Documentation |
This function will filter a data.table to the specified latitude and longitude values.
filterToGeolocationViewport(.dt, latitude, longitude, viewport)
.dt |
data.table with columns for latitude and longitude |
latitude |
Character vector specifying name of latitude column |
longitude |
Character vector specifying name of longitude column |
viewport |
List of lists specifying the geolocation viewport. |
data.table of filtered values
This is a list of lists taking the form:
*latitude
**xMin = numeric
**xMax = numeric
*longitude
**left = numeric
**right = numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.