get_new_loc: Generate new locations

Description Usage Arguments Value

View source: R/get_new_loc.R

Description

This next function lets you remove newLocations from the 'possible_matches' table if you think the new locations should be imported into Natron instead of matched with existing ones. The newLocations not removed will not be upserted to NaTron, instead we will get the locationIDs from the altermnative locations and use them in the event table.

Usage

1
2
get_new_loc(matched_localities = NA, new_localities,
  matched_localities_toimport = NA)

Arguments

matched_localities

output from location_check - List of localities with pre-matching locality already in database

new_localities

output from location_check - List of new localities

matched_localities_toimport:

a vector of the localities which have a match in Natron but you still want to import as new (i.e. new localities, but there is an existing locality within the pre-specified radius)

Value

3 data frames - 1 with localities that did not need changing, 1 with those that did, 1 with all combined


NTNU-VM/natronbatchupload documentation built on May 26, 2018, 11:22 a.m.