Skip to content

Commit 3015d16

Browse files
committed
Specify Luzon Branch ecoregion. Save all_scores as CSV in output folder.
1 parent 0869207 commit 3015d16

File tree

8 files changed

+34
-2
lines changed

8 files changed

+34
-2
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Description: Calculates scores for hydrology, water quality, human health, and
88
License: MIT + file LICENSE
99
Encoding: UTF-8
1010
Roxygen: list(markdown = TRUE)
11-
RoxygenNote: 7.2.3
11+
RoxygenNote: 7.3.2
1212
URL: https://github.com/LimnoTech/SCI, https://limnotech.github.io/SCI/
1313
BugReports: https://github.com/LimnoTech/SCI/issues
1414
Depends:
15-
R (>= 2.10)
15+
R (>= 3.5)
1616
LazyData: true
1717
Imports:
1818
dplyr,

SCI.Rproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version: 1.0
2+
ProjectId: 65053fec-399a-4df5-83e9-a4cd047f8382
23

34
RestoreWorkspace: No
45
SaveWorkspace: No

data/location_name.rda

13 Bytes
Binary file not shown.

data/lookup_tables.xlsx

-49 Bytes
Binary file not shown.

data/~$ARII_Xtab_AmbWQ_SCI.xlsx

-165 Bytes
Binary file not shown.

data/~$lookup_tables.xlsx

-165 Bytes
Binary file not shown.

output/all_scores.csv

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
"","sci_subshed","Trash","Dumpsites","Effective Impervious Area","Temperature, water","pH","Dissolved oxygen (DO)","Escherichia coli","Turbidity","Conductivity","Nitrogen","Phosphorus, Total (as P)","Connectivity","Fish","Habitat","Macroinvertebrates"
2+
"1","Battery Kemble Creek",8.43478260869565,10,6,10,10,10,7.17122657287291,10,1.32946707229891,1.1722461961956,10,10,3,4,7
3+
"2","Broad Branch",8.88235294117647,8,2,10,9.49484604605374,10,3.96201632162848,10,1.39551171022171,2.53189561427939,10,10,2,4,6
4+
"3","Dumbarton Oaks",10,10,4,10,10,10,8.54782802837774,10,1.70833294620897,1.32807710704536,2.8679579947462,10,3,5,7
5+
"4","Fenwick Branch",7.42857142857143,10,3,9.49476657878656,10,10,6.8791964501452,10,1.75285115573104,2.32427732195356,10,10,2,3,6
6+
"5","Fort Davis Tributary",8.33333333333333,2,2,10,10,10,4.56378937695466,3.40381314529514,1.28521704525446,0.950005376536892,1.78543632558786,1,1,5,5
7+
"6","Fort Dupont Tributary",7.64285714285714,7,8,10,10,8.19644566724721,4.39637929649141,3.667361623274,2.99612324159937,0.749069894299005,10,1,3,4,6
8+
"7","Fort Stanton Tributary",6.47058823529412,4,1,9.49458887028815,10,10,3.49306972579195,8.24161710963122,2.14961627380251,0.950005376536892,10,1,1,3,7
9+
"8","Foundry Branch",8.83333333333333,10,2,10,10,10,5.43588122762784,4.44089503244838,2.9615349603606,2.05698424129608,10,1,1,4,NA
10+
"9","Hickey Run",8.03846153846154,10,9,9.32570696570447,10,9.31006357105735,1.71733915151806,7.52739827502453,1.92353016456839,0.749069894299005,2.7927191991411,10,6,2,4
11+
"10","Klingle Valley Run",6.25,10,2,10,10,10,6.5392010054142,10,2.16336911176854,1.52948677601239,10,10,2,3,6
12+
"11","Luzon Branch",5.2,10,1,10,10,10,2.74149789121648,5.16856938057974,1.68139016788936,2.13654818496565,2.91985046082419,10,2,3,6
13+
"12","Normanstone Creek",7.21428571428571,10,1,10,8.9888961180284,10,4.46891175504634,10,1.49230558316491,2.58568816872641,10,10,3,3,6
14+
"13","Oxon Run",5.85714285714286,8,1,9.49482509665549,10,10,4.08034192298863,7.26446748330366,2.73668115439965,0.677223449104501,0.963293817107756,10,4,4,4
15+
"14","Pinehurst Branch",8.66666666666667,10,6,10,9.45561327204199,10,6.86529198320573,10,1.64381726305677,2.53189561427939,10,10,2,4,5
16+
"15","Piney Branch",8,10,1,10,10,10,6.24485935433058,10,1.37920467622303,2.43350524767764,10,10,3,2,4
17+
"16","Pope Branch",8,10,3,10,10,10,6.70307871860358,4.63848137391428,2.04750999680075,0.950005376536892,10,1,4,7,8
18+
"17","Portal Branch",7,10,3,10,8.98692894850945,10,4.24400479220216,6.90674993457207,1.02448007263146,2.74453544775747,10,10,1,3,6
19+
"18","Reservation 630",9.21052631578947,10,3,9.49484222518253,10,10,4.89875662885154,6.54810880322023,1.95694969141548,2.32427732195356,10,10,4,7,7
20+
"19","Rock Creek",8.23913043478261,7,1,9.03991429859265,9.63931584712039,10,4.75298766520739,8.85351874858907,3.01758638876789,2.35646823207748,10,10,5,4,5
21+
"20","Soapstone Creek",8.71428571428571,10,1,10,8.98764540312439,10,6.80566463860387,10,1.91408087817814,2.53189561427939,2.88434296861746,10,2,3,6
22+
"21","Texas Avenue Tributary",7,10,3,10,10,10,3.54658539291944,7.3375495518317,1.74050116850977,0.837784090876652,10,1,1,4,3
23+
"22","Watts Branch",3.55,6,1,9.32024027311975,9.03799489304956,9.94283156569335,3.52383649640539,8.10990235278729,2.71307679688268,0.80598894736693,4.92721388547487,10,4,3,6
24+
"23","Dalecarlia Tributary",NA,10,4,9.49281310022025,9.49429215204554,10,2.26543812278347,7.88130147148155,1.57723215112077,1.64140564675688,1.50035060003774,1,2,3,6
25+
"24","Fort Chaplin Tributary",NA,10,2,10,10,9.44055926057385,3.66863632512962,8.77121712686461,2.01955422326341,1.09628813677057,10,1,1,4,3
26+
"25","Nash Run",NA,10,3,8.97058038494947,9.49162145959481,10,2.85130675778872,8.98648127446675,3.13741218623777,1.09628813677057,10,10,6,5,4

workflow.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,10 @@ all_scores <- trash[["score"]] %>%
138138
dplyr::full_join(hab) %>%
139139
dplyr::full_join(macro)
140140

141+
# Write results file
142+
write.csv(all_scores, "output/all_scores.csv")
143+
144+
145+
141146

142147

0 commit comments

Comments
 (0)