AssignTransect: Assign transect ID to data for analysis using sf package

View source: R/AssignTransect.R

AssignTransectR Documentation

Assign transect ID to data for analysis using sf package

Description

AssignTransect will provide the closest transect associated with a point in a clean data set

Usage

AssignTransect(full.data, transect.path, trans.id, transect.layer)

Arguments

full.data

The data set of georeferenced observations

transect.path

The path to the design transect geopackage

trans.id

The identifier of the naming column in the design file

transect.layer

The layer referenced in the geopackage

Details

AssignTransect will calculate the nearest design transect to observations in a data file and overwrite the Transect column in the data with the nearest LineString trans.id

Value

data frame of observations with modified Transect column

Author(s)

Charles Frost, charles_frost@fws.gov

References

https://github.com/USFWS/AKaerial


USFWS/AKaerial documentation built on April 3, 2025, 4:06 p.m.