View source: R/buildParentChild.R
buildParentChild | R Documentation |
Build a parent-child table based on site locations and the flowlines from NHDPlusV2 layer.
buildParentChild(
sites_sf = NULL,
flowlines = NULL,
rm_na_parent = F,
add_rkm = F
)
sites_sf |
an 'sf' object containing the 'site_code' and location of all detection sites. |
flowlines |
output from 'queryFlowlines()' function. |
rm_na_parent |
should rows with NA as the parent be automatically removed? Default is 'FALSE'. |
add_rkm |
should the RKM of the parent and child be added, based on PTAGIS metadata? Default is 'FALSE'. |
Kevin See
#buildParentChild()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.