Skip to content

johan-ejstrud/fisharea

Repository files navigation

fisharea

The fisharea package classify which fishery administration areas a set of coordinates lies within.

The user can choose from a series of fishery administration areas. See ?fisharea::fisharea for complete list.

The package doesn't do anything miraculous. It's just combines the shape files for the fishery areas, with the logic for determining if a point is inside a rectangle.

Installation

Install fisharea by running:

devtools::install_github("johan-ejstrud/fisharea")

Example

library(fisharea)
p <- data.frame(lat = c(65.3, 40.0), 
                lon = c(-39.3, -9.5))
fisharea(p)
> [1] "14.b.2" "9.a"

fisharea(p, region = "ICES statistical rectangles")
> [1] "59B0" "08E0"

GitHub page

https://github.com/johan-ejstrud/fisharea

Citations

Versioning

When a new version is ready

  1. Run devtools::check().
  2. Run usethis::use_version("patch/minor/major").
  3. Update NEWS.md and commit.
  4. Run ./tag_release.sh.
  5. Open https://github.com/johan-ejstrud/fisharea/tags
  6. Click 'Create release'.
  7. Click 'Publish release'.

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published