Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data request 56: Scallop Restricted areas #57

Merged
merged 6 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description: Provides spatial data as sf objects
License: file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Depends:
R (>= 2.10)
Imports:
Expand Down
25 changes: 25 additions & 0 deletions R/data_Scallop_Rotational_Areas_20230411.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#' Scallop Restricted Area
#'
#' An sf object containing the Scallop Restricted Areas
#' Specifically Area I, II, Nantucket Lightship North, Nantucket Lightship West, New York Bight, Elephant Trunk
#'
#' @format A data frame / sf object (6 x 25)
#' \describe{
#' \item{Geometry type}{POLYGON}
#' \item{Dimension}{XY}
#' \item{Bounding box}{xmin: -8274749 ymin: 4602998 xmax: -7333888 ymax: 5087139}
#' \item{Geodetic CRS}{WGS 84 / Pseudo-Mercator}
#' \item{Features}{6 x 25}
#' \item{Metadata}{See source}
#' }
#'
#'@section Contact:
#'andrew.beet at noaa.gov
#'
#'
#' @docType data
#' @name Scallop_Rotational_Areas_20230411
#' @usage data("Scallop_Rotational_Areas_20230411")
#' @keywords datasets
#' @source \url{https://www.fisheries.noaa.gov/resource/map/atlantic-sea-scallop-managed-waters-fishing-year-2023}
NULL
Binary file added data/Scallop_Rotational_Areas_20230411.rda
Binary file not shown.
33 changes: 33 additions & 0 deletions man/Scallop_Rotational_Areas_20230411.Rd

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

11 changes: 7 additions & 4 deletions pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,22 @@ navbar:
href: articles/NAFO_Divisions_2021_line_enclosed_leaflet.html
- text: NAFO_Divisions_2021_line_not_enclosed
href: articles/NAFO_Divisions_2021_line_not_enclosed_leaflet.html
- text: NAFO_Divisions_2021_poly_not_clipped
href: articles/NAFO_Divisions_2021_poly_not_clipped_leaflet.html
- text: NAFO_Divisions_2021_poly_clipped
href: articles/NAFO_Divisions_2021_poly_clipped_leaflet.html
- text: NAFO_Divisions_2021_poly_not_clipped
href: articles/NAFO_Divisions_2021_poly_not_clipped_leaflet.html
- text: Neus_atlantis
href: articles/Neus_atlantis_leaflet.html
- text: Scallop_Rotational_Areas_20230411
href: articles/Scallop_Rotational_Areas_20230411_leaflet.html
- text: Shellfish_Strata
href: articles/Shellfish_Strata_leaflet.html
- text: Shrimp_Strata
href: articles/Shrimp_Strata_leaflet.html
- text: Statistical_Areas_2010
href: articles/Statistical_Areas_2010_leaflet.html
- text: Statistical_Areas_2010_withNames
href: articles/Statistical_Areas_2010_withNames_leaflet.html
- text: Shrimp_Strata
href: articles/Shrimp_Strata_leaflet.html
reference:
- title: Fishing Areas / Management Areas
desc: Areas in which fishing is reported
Expand All @@ -87,6 +89,7 @@ reference:
- GillnetClosureAreas_20211021
- LMA1_Restricted_Area_FR
- Great_South_Channel_Restricted_Trap_Pot_Area
- Scallop_Rotational_Areas_20230411
- title: Protected Species
- contents: amapps_grid
- title: Survey Strata
Expand Down
Binary file modified pkgdown/leaflet_maps/BTS_Strata_leaflet.rds
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/EcoMon_Strata_leaflet.rds
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/GillnetClosureAreas_20211021_leaflet.rds
Binary file not shown.
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/Herring_Management_Areas_leaflet.rds
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/LMA1_Restricted_Area_FR_leaflet.rds
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/NAFO_Divisions_2021_line_enclosed_leaflet.rds
Binary file not shown.
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/NAFO_Divisions_2021_poly_clipped_leaflet.rds
Binary file not shown.
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/Neus_atlantis_leaflet.rds
Binary file not shown.
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/Shellfish_Strata_leaflet.rds
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/Shrimp_Strata_leaflet.rds
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/Statistical_Areas_2010_leaflet.rds
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/Statistical_Areas_2010_withNames_leaflet.rds
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/epu_sf_leaflet.rds
Binary file not shown.
Binary file modified pkgdown/leaflet_maps/final_mass_inshore_stat_leaflet.rds
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ m <- readRDS(here::here('pkgdown/leaflet_maps/NAFO_Divisions_2021_poly_clipped_l

```{r, echo = FALSE}
m
```
```
13 changes: 13 additions & 0 deletions vignettes/articles/Scallop_Rotational_Areas_20230411_leaflet.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: 'Scallop_Rotational_Areas_20230411'
output: html_document
---

```{r, echo = FALSE, warning = FALSE}
library(leaflet)
m <- readRDS(here::here('pkgdown/leaflet_maps/Scallop_Rotational_Areas_20230411_leaflet.rds'))
```

```{r, echo = FALSE}
m
```
2 changes: 1 addition & 1 deletion vignettes/articles/Statistical_Areas_2010_leaflet.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ m <- readRDS(here::here('pkgdown/leaflet_maps/Statistical_Areas_2010_leaflet.rds

```{r, echo = FALSE}
m
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ m <- readRDS(here::here('pkgdown/leaflet_maps/Statistical_Areas_2010_withNames_l

```{r, echo = FALSE}
m
```
```
Loading