-
Notifications
You must be signed in to change notification settings - Fork 1
Change schade choices
Machteld Varewyck edited this page Apr 20, 2022
·
1 revision
The list of species one can select from at the beginning of the wildschade-page is ever changing. Therefore it is necessary to know how to change this list.
This how to is based on the fix provided for issue #254 by @mvarewyck
- go to ./reporting-grofwild/inst/extdata and open meta_schade.csv
- click on edit this file
- Add/remove/edit the relevant rows in the data. Do not edit the columns or their names. The data should always contain following 5 columns:
- variable: type of choice list. Possible values are
wildsoort
,type
orsource
. - group and name: define the value names in the data for each group and members of the group. Leave the group empty if not relevant (e.g. for
source
) - group_display and name_display: defines translation of the original value in the data for the web application. Leave empty if no such translation needed (e.g. for
wildsoort
).
- Commit these changes to a new branch and start a pull request.
- select @sanderdevisscher and/or @jimcasaer as reviewers
- Create the pull request
- The reviewer(s) check the pull request
- After approval the reviewer(s) merge the branch with the master and remove the branch
Example for wildsoort and type group, group_display, name and name_display choices |
Example for source name and name_display choices |