Skip to content

Commit

Permalink
Merge pull request #182 from inbo/update_textdata
Browse files Browse the repository at this point in the history
Update the types data source: rbbvos+ has been dropped
  • Loading branch information
florisvdh authored Sep 30, 2024
2 parents 60209b1 + 28eb0e2 commit 030a64d
Show file tree
Hide file tree
Showing 10 changed files with 2,357 additions and 534 deletions.
4 changes: 2 additions & 2 deletions R/datawrangling.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
#' This is because the data sources with which the result
#' is to be matched (see Description) don't contain certain main type codes,
#' and because it makes no sense in other cases
#' (rbbkam, rbbvos, rbbzil & 9120 in the \code{habitatmap} do not refer to a
#' main type but to an non-defined subtype with no specific code).
#' (rbbkam, rbbzil & 9120 in the \code{habitatmap} do not refer to a
#' main type but to a non-defined subtype with no specific code).
#'
#'
#' @param x An object of class \code{data.frame}.
Expand Down
2 changes: 0 additions & 2 deletions inst/textdata/namelist.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ rbbsm en Myrica gale scrubs Myrica gale scrubs
rbbso en Wet Salix scrubs on acid peaty soil Wet Salix scrubs on acid peaty soil
rbbsp en Thorny scrubs Thorny scrubs
rbbvos en Alopecurion grasslands (no 6510 habitat type) Alopecurion grasslands (not 6510)
rbbvos+ en Species-rich Alopecurion grasslands (no 6510 habitat type) Species-rich Alopecurion grasslands (not 6510)
rbbzil en Potentilla anserina grasslands Potentilla anserina grasslands
rbbzil+ en Species-rich Potentilla anserina grasslands Species-rich Potentilla anserina grasslands
RC en Rocky habitats and caves NA
Expand Down Expand Up @@ -398,7 +397,6 @@ rbbsm nl Gagelstruweel gagelstruweel
rbbso nl Vochtig wilgenstruweel op venige en zure grond vochtig wilgenstruweel op venige of zure grond
rbbsp nl Doornstruweel doornstruweel
rbbvos nl Grote vossenstaartgrasland niet vervat in 6510 grote vossenstaartgrasland
rbbvos+ nl Soortenrijk grote vossenstaartgrasland soortenrijk grote vossenstaartgrasland
rbbzil nl Zilverschoongrasland zilverschoongrasland
rbbzil+ nl Soortenrijk zilverschoongrasland soortenrijk zilverschoongrasland
RC nl Rotsachtige habitats en grotten NA
Expand Down
2 changes: 1 addition & 1 deletion inst/textdata/namelist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- lang
- code
hash: 3345146f5a5902a684bc1b965f00486c82952d94
data_hash: 2d1a17da2f1ee5e8c54e82a680c649e652cb6eb2
data_hash: ba4a21468fee501892a4ee5903fd0ff20fadc493
code:
class: character
lang:
Expand Down
1 change: 0 additions & 1 deletion inst/textdata/types.csv
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ rbbhfl,main_type,rbbhfl,GR,HC2,GD2,FD1,NA,NA,NA
rbbkam,main_type,rbbkam,GR,HC12,GD1,FD0,NA,NA,NA
rbbkam+,subtype,rbbkam,GR,HC12,GD1,FD0,NA,NA,NA
rbbvos,main_type,rbbvos,GR,HC2,GD2,FD1,NA,NA,NA
rbbvos+,subtype,rbbvos,GR,HC2,GD2,FD1,NA,NA,NA
rbbzil,main_type,rbbzil,GR,HC2,GD2,FD2,NA,NA,NA
rbbzil+,subtype,rbbzil,GR,HC2,GD2,FD2,NA,NA,NA
7110,main_type,7110,BMF,HC2,GD2,FD0,NA,NA,NA
Expand Down
6 changes: 2 additions & 4 deletions inst/textdata/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
sorting:
- typeclass
- type
hash: 3716361494fa7d0742afaf7cb987f8ad91e0fb52
data_hash: 45a6fbd03ba5f6587fda5553f2c734fedc609387
hash: 99bf28ab22dace825d359ca9eb45e9893df454b3
data_hash: faf29949772e836dc80bb289c1739786d0a759ed
type:
class: factor
labels:
Expand Down Expand Up @@ -83,7 +83,6 @@ type:
- rbbkam
- rbbkam+
- rbbvos
- rbbvos+
- rbbzil
- rbbzil+
- '7110'
Expand Down Expand Up @@ -195,7 +194,6 @@ type:
- 71
- 72
- 73
- 74
- 75
- 76
- 77
Expand Down
4 changes: 2 additions & 2 deletions man/expand_types.Rd

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

Loading

0 comments on commit 030a64d

Please sign in to comment.