Description Usage Arguments Examples
View source: R/mergelocations.R
This function introduces a simplified merge for recording data and location data. Regular merge methods can be destructive and therefore impact recording selection. This method provides checks to prevent this from happening.
1 2 3 4 5 6 7 | mergelocations(
data = NULL,
locationdata = NULL,
locationname = "location",
Latitude = "Latitude",
Longitude = "Longitude"
)
|
data |
Selection data.frame as created by the getwavs() function. Must contain the location column for merging. |
locationdata |
Location data.frame containing the locations that match with recording selection and their coordinates. |
locationname |
String column name for locations in your locationdata file if differs from default: location. |
Latitude |
String column name for Latitude in your locationdata file if differs from default: Latitude. |
Longitude |
String column name for Longitude in your locationdata file if differs from default: Longitude. |
1 | data <- mergelocations(data,locationdata,locationname = "Location")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.