Skip to content

Commit b21ddb0

Browse files
author
Michael Schramm
committedJan 10, 2023
Merge branch 'main' of https://github.com/mps9506/rATTAINS
2 parents 28a2584 + 61b6f34 commit b21ddb0

File tree

1 file changed

+43
-33
lines changed

1 file changed

+43
-33
lines changed
 

‎README.md

+43-33
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
[![CRAN
99
status](https://www.r-pkg.org/badges/version/rATTAINS)](https://cran.r-project.org/package=rATTAINS)
10+
[![rATTAINS status
11+
badge](https://mps9506.r-universe.dev/badges/rATTAINS)](https://mps9506.r-universe.dev)
1012
[![Project Status: Active – The project has reached a stable, usable
1113
state and is being actively
1214
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
@@ -85,6 +87,14 @@ Environmental Quality:
8587
library(rATTAINS)
8688
state_summary(organization_id = "TCEQMAIN", reporting_cycle = "2020") %>%
8789
.[1,] %>% str()
90+
#> Warning: Automatic coercion from double to character was deprecated in purrr 1.0.0.
91+
#> ℹ Please use an explicit call to `as.character()` within `map_chr()` instead.
92+
#> ℹ The deprecated feature was likely used in the tidyjson package.
93+
#> Please report the issue at <https://github.com/colearendt/tidyjson/issues>.
94+
#> Warning: Automatic coercion from integer to character was deprecated in purrr 1.0.0.
95+
#> ℹ Please use an explicit call to `as.character()` within `map_chr()` instead.
96+
#> ℹ The deprecated feature was likely used in the tidyjson package.
97+
#> Please report the issue at <https://github.com/colearendt/tidyjson/issues>.
8898
#> tibble [1 × 13] (S3: tbl_df/tbl/data.frame)
8999
#> $ organization_identifier: chr "TCEQMAIN"
90100
#> $ organization_name : chr "Texas"
@@ -117,7 +127,7 @@ huc12_summary(huc = "020700100204")
117127
#> # A tibble: 1 × 14
118128
#> huc12 asses…¹ total…² total…³ asses…⁴ asses…⁵ asses…⁶ asses…⁷ asses…⁸ asses…⁹
119129
#> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
120-
#> 1 02070… 17 46.2 46.2 44.1 95.4 0 0 0 0
130+
#> 1 02070… 17 46.1 46.2 35.2 76.4 0 0 0 0
121131
#> # … with 4 more variables: contain_impaired_waters_catchment_area_sq_mi <dbl>,
122132
#> # contain_impaired_waters_catchment_area_percent <dbl>,
123133
#> # contain_restoration_catchment_area_sq_mi <dbl>,
@@ -133,16 +143,16 @@ huc12_summary(huc = "020700100204")
133143
#> 1 MD-02140205-Northwest_Branch
134144
#> 2 MD-02140205
135145
#> 3 DCTFD01R_00
136-
#> 4 MD-ANATF
146+
#> 4 DCTNA01R_00
137147
#> 5 DCTFS01R_00
138-
#> 6 DCTNA01R_00
148+
#> 6 MD-ANATF
139149
#> 7 DCTTX27R_00
140150
#> 8 DCTFC01R_00
141151
#> 9 MD-02140205-Mainstem
142152
#> 10 DCTWB00R_02
143-
#> 11 DCTWB00R_01
144-
#> 12 DCANA00E_02
145-
#> 13 DCTHR01R_00
153+
#> 11 DCANA00E_02
154+
#> 12 DCTHR01R_00
155+
#> 13 DCTWB00R_01
146156
#> 14 DCTPB01R_00
147157
#> 15 DCTDU01R_00
148158
#> 16 DCANA00E_01
@@ -152,57 +162,57 @@ huc12_summary(huc = "020700100204")
152162
#> # A tibble: 2 × 4
153163
#> epa_ir_category_name catchment_size_sq_mi catchment_size_percent assessment_…¹
154164
#> <chr> <dbl> <dbl> <dbl>
155-
#> 1 4A 25.2 54.5 10
156-
#> 2 5 37.9 81.9 7
165+
#> 1 4A 12.7 27.5 10
166+
#> 2 5 25.8 56.0 7
157167
#> # … with abbreviated variable name ¹​assessment_unit_count
158168
#>
159169
#> $use_summary
160170
#> # A tibble: 5 × 5
161171
#> use_group_name use_attainment catchment_size_…¹ catch…² asses…³
162172
#> <chr> <chr> <dbl> <dbl> <dbl>
163-
#> 1 ECOLOGICAL_USE Not Supporting 22.8 49.3 13
164-
#> 2 FISHCONSUMPTION_USE Insufficient Information 24.5 53.0 1
165-
#> 3 FISHCONSUMPTION_USE Not Supporting 24.5 53.0 12
166-
#> 4 OTHER_USE Fully Supporting 1.92 4.15 3
167-
#> 5 RECREATION_USE Not Supporting 24.5 53.0 13
173+
#> 1 ECOLOGICAL_USE Not Supporting 10.9 23.7 13
174+
#> 2 FISHCONSUMPTION_USE Insufficient Information 15.9 34.4 1
175+
#> 3 FISHCONSUMPTION_USE Not Supporting 15.9 34.4 12
176+
#> 4 OTHER_USE Fully Supporting 0.683 1.48 3
177+
#> 5 RECREATION_USE Not Supporting 15.2 32.9 13
168178
#> # … with abbreviated variable names ¹​catchment_size_sq_mi,
169179
#> # ²​catchment_size_percent, ³​assessment_unit_count
170180
#>
171181
#> $param_summary
172182
#> # A tibble: 16 × 4
173183
#> parameter_group_name catchment_size_sq_mi catchment_…¹ asses…²
174184
#> <chr> <dbl> <dbl> <dbl>
175-
#> 1 ALGAL GROWTH 22.8 49.3 2
176-
#> 2 CHLORINE 10.7 23.2 1
177-
#> 3 HABITAT ALTERATIONS 5.80 12.5 2
178-
#> 4 HYDROLOGIC ALTERATION 17.0 36.8 5
179-
#> 5 METALS (OTHER THAN MERCURY) 22.8 49.3 9
180-
#> 6 NUTRIENTS 22.8 49.3 2
181-
#> 7 OIL AND GREASE 22.8 49.3 3
182-
#> 8 ORGANIC ENRICHMENT/OXYGEN DEPLETION 22.8 49.3 6
183-
#> 9 PATHOGENS 24.5 53.0 13
184-
#> 10 PESTICIDES 24.5 53.0 9
185-
#> 11 PH/ACIDITY/CAUSTIC CONDITIONS 1.72 3.71 1
186-
#> 12 POLYCHLORINATED BIPHENYLS (PCBS) 24.5 53.0 10
187-
#> 13 SEDIMENT 3.88 8.39 1
188-
#> 14 TOXIC ORGANICS 22.8 49.3 8
189-
#> 15 TRASH 22.8 49.3 2
190-
#> 16 TURBIDITY 24.5 53.0 13
185+
#> 1 ALGAL GROWTH 9.21 20.0 2
186+
#> 2 CHLORINE 1.73 3.75 1
187+
#> 3 HABITAT ALTERATIONS 2.80 6.07 2
188+
#> 4 HYDROLOGIC ALTERATION 5.98 13.0 5
189+
#> 5 METALS (OTHER THAN MERCURY) 11.8 25.7 9
190+
#> 6 NUTRIENTS 9.21 20.0 2
191+
#> 7 OIL AND GREASE 10.9 23.7 3
192+
#> 8 ORGANIC ENRICHMENT/OXYGEN DEPLETION 12.7 27.5 6
193+
#> 9 PATHOGENS 15.9 34.4 13
194+
#> 10 PESTICIDES 15.2 32.9 9
195+
#> 11 PH/ACIDITY/CAUSTIC CONDITIONS 1.95 4.22 1
196+
#> 12 POLYCHLORINATED BIPHENYLS (PCBS) 15.2 32.9 10
197+
#> 13 SEDIMENT 1.90 4.11 1
198+
#> 14 TOXIC ORGANICS 13.3 28.7 8
199+
#> 15 TRASH 9.21 20.0 2
200+
#> 16 TURBIDITY 15.9 34.4 13
191201
#> # … with abbreviated variable names ¹​catchment_size_percent,
192202
#> # ²​assessment_unit_count
193203
#>
194204
#> $res_plan_summary
195205
#> # A tibble: 1 × 4
196206
#> summary_type_name catchment_size_sq_mi catchment_size_percent assessment_uni…¹
197207
#> <chr> <dbl> <dbl> <dbl>
198-
#> 1 TMDL 24.5 53.0 13
208+
#> 1 TMDL 15.9 34.4 13
199209
#> # … with abbreviated variable name ¹​assessment_unit_count
200210
#>
201211
#> $vision_plan_summary
202212
#> # A tibble: 1 × 4
203213
#> summary_type_name catchment_size_sq_mi catchment_size_percent assessment_uni…¹
204214
#> <chr> <dbl> <dbl> <dbl>
205-
#> 1 TMDL 24.5 53.0 13
215+
#> 1 TMDL 15.9 34.4 13
206216
#> # … with abbreviated variable name ¹​assessment_unit_count
207217
```
208218

@@ -257,7 +267,7 @@ citation("rATTAINS")
257267
#> To cite rATTAINS in publications use:
258268
#>
259269
#> Schramm, Michael (2021). rATTAINS: Access EPA 'ATTAINS' Data. R
260-
#> package version 0.1.3. doi:10.5281/zenodo.3635017
270+
#> package version 0.1.4. doi:10.5281/zenodo.3635017
261271
#> https://CRAN.R-project.org/package=rATTAINS
262272
#>
263273
#> A BibTeX entry for LaTeX users is
@@ -268,6 +278,6 @@ citation("rATTAINS")
268278
#> year = {2021},
269279
#> url = {https://CRAN.R-project.org/package=rATTAINS},
270280
#> doi = {10.5281/zenodo.5469911},
271-
#> note = {R package version 0.1.3},
281+
#> note = {R package version 0.1.4},
272282
#> }
273283
```

0 commit comments

Comments
 (0)
Please sign in to comment.