Skip to content

Commit

Permalink
Updating documentation of Mahardja subregion file
Browse files Browse the repository at this point in the history
  • Loading branch information
sbashevkin committed Jan 12, 2024
1 parent 08a00f3 commit 5b11044
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
4 changes: 4 additions & 0 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@
#' @seealso \code{\link{R_EDSM_Subregions}}, \code{\link{R_EDSM_Regions}}, \code{\link{R_EDSM_Strata}}, \code{\link{R_EDSM_Subregions_Mahardja_FLOAT}}
#' @section Credit:
#' This shapefile was created by the United States Fish and Wildlife Service for the Enhanced Delta Smelt Monitoring Program and modified by Brian Mahardja.
#' This version was created in 2019 by taking most complete EDSM subregions and adding 3 regions downstream: San Pablo Bay, San Francisco Bay, and South Bay.
#' Note that the delineations of these new 3 bay regions were drawn somewhat arbitrarily. This version also included minor fixes of the original EDSM subregion.
#' For example, the lower Ship Channel subregion originally extended west to include the Yolo Bypass Toe Drain and was moved to the east to include only the ship channel.
"R_EDSM_Subregions_Mahardja"

#' Bay-Delta regions
Expand All @@ -138,6 +141,7 @@
#' @seealso \code{\link{R_EDSM_Subregions}}, \code{\link{R_EDSM_Regions}}, \code{\link{R_EDSM_Strata}}, \code{\link{R_EDSM_Subregions_Mahardja}}
#' @section Credit:
#' This shapefile was created by the United States Fish and Wildlife Service for the Enhanced Delta Smelt Monitoring Program, modified by Brian Mahardja, then modified by Sam Bashevkin.
#' This version was created for use by the IEP FLOAT/Drought MAST analyses in 2021. Starting with \code{\link{R_EDSM_Subregions_Mahardja}}, the "Georgiana Slough" and "Sacramento River near Ryde" SubRegions were merged, retaining the "Sacramento River near Ryde" name.
"R_EDSM_Subregions_Mahardja_FLOAT"

#' California Aquatic Resources Inventory wetlands
Expand Down
2 changes: 2 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ ggplot(R_EDSM_Subregions_19P3)+

### Brian Mahardja's edited EDSM subregions

This version was created in 2019 by taking most complete EDSM subregions and adding 3 regions downstream: San Pablo Bay, San Francisco Bay, and South Bay. Note that the delineations of these new 3 bay regions were drawn somewhat arbitrarily. This version also included minor fixes of the original EDSM subregion. For example, the lower Ship Channel subregion originally extended west to include the Yolo Bypass Toe Drain and was moved to the east to include only the ship channel.

```{r REDSMSubregionsMahardja}
ggplot(R_EDSM_Subregions_Mahardja)+
geom_sf(aes(fill=SubRegion))+
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ with:
``` r
require(sf) # To ensure `sf` objects print correctly
#> Loading required package: sf
#> Linking to GEOS 3.11.1, GDAL 3.6.2, PROJ 9.1.1; sf_use_s2() is TRUE
#> Linking to GEOS 3.11.2, GDAL 3.7.2, PROJ 9.3.0; sf_use_s2() is TRUE
deltamapr::WW_Delta
#> Simple feature collection with 282 features and 9 fields
#> Geometry type: POLYGON
Expand Down Expand Up @@ -126,6 +126,7 @@ Four spatial data types are included in this package

``` r
require(ggplot2)
#> Warning: package 'ggplot2' was built under R version 4.3.2
require(sf)
```

Expand Down Expand Up @@ -401,6 +402,14 @@ ggplot(R_EDSM_Subregions_19P3)+

### Brian Mahardja’s edited EDSM subregions

This version was created in 2019 by taking most complete EDSM subregions
and adding 3 regions downstream: San Pablo Bay, San Francisco Bay, and
South Bay. Note that the delineations of these new 3 bay regions were
drawn somewhat arbitrarily. This version also included minor fixes of
the original EDSM subregion. For example, the lower Ship Channel
subregion originally extended west to include the Yolo Bypass Toe Drain
and was moved to the east to include only the ship channel.

``` r
ggplot(R_EDSM_Subregions_Mahardja)+
geom_sf(aes(fill=SubRegion))+
Expand Down
3 changes: 3 additions & 0 deletions man/R_EDSM_Subregions_Mahardja.Rd

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

1 change: 1 addition & 0 deletions man/R_EDSM_Subregions_Mahardja_FLOAT.Rd

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

0 comments on commit 5b11044

Please sign in to comment.