-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
68 lines (62 loc) · 4.23 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
output: github_document
---
# nhdSnap
<!-- badges: start -->
<!-- badges: end -->
```{r, echo = F, warning=FALSE, message=FALSE}
library(dplyr)
all = c("nexusX", 'the X coordinate (CRS:5070) of the NHD flowline vertix closest to the input point',
"nexusY", 'the Y coordinate (CRS:5070) of the NHD flowline vertix closest to the input point',
"FL_COMID", 'the COMID of the nearest NHDPlusV2 flowline',
"FL_REACHCODE", 'the REACHCODE of the nearest NHDPlusV2 flowline',
"FL_WBCOMID",'the COMID of the waterbody assocaited with the nearest NHDPlusV2 flowline (no association = 0)',
"FL_NAME", 'the GNIS NAME of the nearest NHDPlusV2 flowline',
"FL_FTYPE", 'the FTYPE of the nearest NHDPlusV2 flowline',
"WB_COMID",'the COMID of the associated NHDPlusV2 Waterbody (if no direct association a 250m buffer was searched)',
"WB_REACHCODE", 'the REACHCODE of the associated NHDPlusV2 Waterbody (if no direct association a 250m buffer was searched)',
"WB_GNIS_NAME",'the GNIS NAME of the associated NHDPlusV2 Waterbody (if no direct association a 250m buffer was searched)',
"WB_FTYPE",'the FTYPE of the associated NHDPlusV2 Waterbody (if no direct association a 250m buffer was searched)',
"ptID", 'the ID of the input point defined in function (e.g. NID_ID)',
"ptName", 'the NAME of the input point defined in function (e.g. DAM_NAME)',
"nexus_to_pt", 'the distance (m) from the nexus point to the input point',
"nexus_to_wb", 'the distance (m) from the nexus point to the water body',
"endX", 'the X coordinate (CRS:5070) of the NHD flowline cap vertix closest to the input point',
"endY", 'the Y coordinate (CRS:5070) of the NHD flowline cap vertix closest to the input point',
"end_to_pt", 'the distance (m) from the end point to the input point',
"end_to_wb", 'the distance (m) from the end point to the input point',
"wb_sim", 'the text simularity between the waterbody GNIS name and the dam name(s) and river',
"fl_sim", 'the text simularity between the NHD flowline GNIS name and the dam name(s) and river',
"suggested_snap", 'the nexus or end point with the closest textual simularity',
"suggested_snap_dist", 'the distance of the sugested SNAP point to the existing point location',
"max_sim",'the maximum textual simuality of the feature to either the water body of the flowline')
tab = matrix(all, ncol = 2, byrow = TRUE) %>% data.frame() %>%
setNames(c("Variable", "Description"))
DT::datatable(tab, options = list(paging = FALSE, searching = FALSE))
```
```{r}
NIDID source id1 id2 name
1 AL00001 INT 22205331 22204927 Lake Chinnabee
2 AL00001 NHDWB 22204927 03150106003345 Lake Chinnabee
3 AL00001 GNIS 161409 <NA> Chinnabee Dam
4 AL00001 NHDFL 22205105 03150106000091 Cheaha Creek
5 AL00001 NID AL00001 <NA> LAKE CHINNABEE DAM
6 AL00001 osmpt 358991728 <NA> Chinnabee Dam
7 AL00002 osmpolygon 243603638 <NA> bing
8 AL00002 NID AL00002 <NA> COLEMAN LAKE
9 AL00002 NHDWB 22200709 03150106003128 Coleman Lake
10 AL00002 GNIS 161465 <NA> Coleman Dam
11 AL00002 NHDFL 22201591 03150106000159 Shoal Creek
12 AL00002 osmpt 358991879 <NA> Coleman Dam
13 AL00004 FEMA 1744552 <NA> <NA>
14 AL00004 NID AL00004 <NA> SITE 2- CHOCCOLOCCO
15 AL00004 NHDFL 22201315 03150106000170 Choccolocco Creek
16 AL00004 GNIS 161468 <NA> Choccolocco Number 2 Dam
17 AL00004 osmpt 358991885 <NA> Choccolocco Number 2 Dam
18 AL00005 osmpt 358991749 <NA> Boy Scout Dam
19 AL00005 GNIS 161418 <NA> Boy Scout Dam
20 AL00005 NID AL00005 <NA> BOY SCOUT
21 AL00005 osmpolygon 33553971 <NA> NHD
22 AL00005 NHDFL 15810445 03150108000945 Carr Creek
23 AL00005 osmline 33469209 <NA> <NA>
````