Skip to content

Wanted: Statistical Area attributes in other CCAMLR layers.  #103

@Maschette

Description

@Maschette

Currently there are a bunch of CCAMLR layers which all fall within statistical areas of CCAMLR which have no way to filter to a certain area quickly. I'd like to add the SOmap_data$CCAMLR_statistical_areas$LongLabel as an attribute called StatisticalArea to all the other CCAMLR layers. This would be: "CCAMLR_MPA", "CCAMLR_research_blocks" , "CCAMLR_SSRU", "CCAMLR_SSMU", "CCAMLR_VME_polygons", "CCAMLR_planning_domains" ,"CCAMLR_VME_fsr", "CCAMLR_VME_risk_areas"

library(SOmap)
#> Loading required package: raster
#> Loading required package: sp

head(SOmap_data$CCAMLR_statistical_areas)
#>   GAR_ID         Name ShortLabel LongLabel  StartDate EndDate
#> 0  74966 Subarea 88.3        883      88.3 1985-09-13    None
#> 1  74758 Subarea 48.4        484      48.4 1984-09-14    None
#> 2  74964 Subarea 88.2        882      88.2 1985-09-13    None
#> 3  74755 Subarea 48.1        481      48.1 1984-09-14    None
#> 4  74756 Subarea 48.2        482      48.2 1984-09-14    None
#> 5  74757 Subarea 48.3        483      48.3 1984-09-14    None
#>                                                                                                                     Reference
#> 0       Description from http://www.fao.org/fishery/area/Area88/en Accessed 13 Jan 2016; Supporting document SC-IV appendix 2
#> 1 Decription taken from http://www.fao.org/fishery/area/Area48/en Accessed 13 Jan 2016; Supporting document SC-III Appendix 2
#> 2       Description from http://www.fao.org/fishery/area/Area88/en Accessed 13 Jan 2016; Supporting document SC-IV appendix 2
#> 3 Decription taken from http://www.fao.org/fishery/area/Area48/en Accessed 13 Jan 2016; Supporting document SC-III Appendix 2
#> 4 Decription taken from http://www.fao.org/fishery/area/Area48/en Accessed 13 Jan 2016; Supporting document SC-III Appendix 2
#> 5 Decription taken from http://www.fao.org/fishery/area/Area48/en Accessed 13 Jan 2016; Supporting document SC-III Appendix 2
#>   ParentID CreatedBy           CreatedOn ModifiedBy          ModifiedOn
#> 0    84535     admin 2012-06-06 00:00:00        Tim 2016-02-23 18:38:41
#> 1    84537     admin 2012-05-31 00:00:00        Tim 2016-02-23 18:38:41
#> 2    84535     admin 2012-06-06 00:00:00        Tim 2016-02-23 18:38:41
#> 3    84537     admin 2012-05-31 00:00:00        Tim 2016-02-23 18:38:41
#> 4    84537     admin 2012-05-31 00:00:00        Tim 2016-02-23 18:38:41
#> 5    84537     admin 2012-05-31 00:00:00        Tim 2016-02-23 18:38:41

head(SOmap_data$CCAMLR_SSRU)
#>   GAR_ID          Name ShortLabel LongLabel  StartDate EndDate
#> 0  90160   SSRU 48.6 A       486A    48.6 A 2007-01-12    None
#> 1  90200   SSRU 88.1 F       881F    88.1 F 2003-01-12    None
#> 2  90161   SSRU 48.6 B       486B    48.6 B 2002-01-12    None
#> 3  90166   SSRU 48.6 G       486G    48.6 G 2007-01-12    None
#> 4  90167 SSRU 58.4.1 A      5841A  58.4.1 A 2003-01-12    None
#> 5  90173 SSRU 58.4.1 G      5841G  58.4.1 G 2003-01-12    None
#>                           Reference ParentID CreatedBy           CreatedOn
#> 0 CONSERVATION MEASURE 41-01 (2007)    74760       tim 2016-04-30 16:36:30
#> 1 CONSERVATION MEASURE 41-01 (2003)    74963       tim 2016-04-30 16:36:31
#> 2 CONSERVATION MEASURE 41-01 (2002)    74760       tim 2016-04-30 16:36:31
#> 3 CONSERVATION MEASURE 41-01 (2007)    74760       tim 2016-04-30 16:36:31
#> 4 CONSERVATION MEASURE 41-01 (2003)    74761       tim 2016-04-30 16:36:31
#> 5 CONSERVATION MEASURE 41-01 (2003)    74761       tim 2016-04-30 16:36:31
#>   ModifiedBy          ModifiedOn
#> 0        tim 2016-04-30 16:36:30
#> 1        tim 2016-04-30 16:36:31
#> 2        tim 2016-04-30 16:36:31
#> 3        tim 2016-04-30 16:36:31
#> 4        tim 2016-04-30 16:36:31
#> 5        tim 2016-04-30 16:36:31

Created on 2022-02-04 by the reprex package (v2.0.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions