mergelocations.Rd
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.
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. |
data <- mergelocations(data,locationdata,locationname = "Location")