Skip to content

Commit

Permalink
Merge pull request #536 from USEPA/review-533
Browse files Browse the repository at this point in the history
add water type + speed up fetchATTAINS(); {arcgislayers}-ify fetchNHD
  • Loading branch information
cristinamullin authored Nov 5, 2024
2 parents 265ff53 + 4f41ba0 commit 69792d3
Show file tree
Hide file tree
Showing 8 changed files with 495 additions and 445 deletions.
11 changes: 5 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,14 @@ Imports:
urltools,
geojsonsf,
tibble,
rlang
Remotes:
github::R-ArcGIS/arcgislayers,
github::R-ArcGIS/arcgis,
github::R-ArcGIS/arcpbf
rlang,
nhdplusTools,
arcgislayers,
httr,
jsonlite
Depends:
R (>= 3.5.0)
Suggests:
nhdplusTools,
lwgeom,
DT,
RColorBrewer,
Expand Down
462 changes: 248 additions & 214 deletions R/GeospatialFunctions.R

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions R/RequiredCols.R
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,17 @@ attains.cols <- c(
"ATTAINS.isthreatened", "ATTAINS.state", "ATTAINS.on303dlist",
"ATTAINS.organizationname", "ATTAINS.region", "ATTAINS.Shape_Length",
"ATTAINS.reportingcycle", "ATTAINS.assmnt_joinkey", "ATTAINS.hastmdl",
"ATTAINS.orgtype", "ATTAINS.permid_joinkey", "ATTAINS.catchmentistribal",
"ATTAINS.orgtype",
"ATTAINS.permid_joinkey", #
"ATTAINS.catchmentistribal",
"ATTAINS.ircategory", "ATTAINS.waterbodyreportlink", "ATTAINS.assessmentunitidentifier",
"ATTAINS.overallstatus", "ATTAINS.isassessed", "ATTAINS.isimpaired",
"ATTAINS.has4bplan", "ATTAINS.huc12", "ATTAINS.hasalternativeplan",
"ATTAINS.visionpriority303d", "ATTAINS.areasqkm", "ATTAINS.catchmentareasqkm",
"ATTAINS.catchmentstatecode", "ATTAINS.catchmentresolution", "ATTAINS.Shape_Area"
"ATTAINS.catchmentstatecode", "ATTAINS.catchmentresolution", "ATTAINS.Shape_Area",
"ATTAINS.xwalk_method",
"ATTAINS.xwalk_huc12_version",
"ATTAINS.waterTypeCode"
)

# Only used in TADA Shiny or should be at the end
Expand Down
13 changes: 10 additions & 3 deletions man/TADA_GetATTAINS.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/TADA_MakeSpatial.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions man/fetchATTAINS.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 69792d3

Please sign in to comment.