157 new function label extracter#160
Open
SanderDevisscher wants to merge 17 commits into
Open
Conversation
18 tasks
…/inbo/fistools into 157-new-function-label_extracter
martijn-bollen
previously requested changes
May 19, 2026
martijn-bollen
left a comment
Contributor
There was a problem hiding this comment.
For both examples 1 and 3, I receive an error related to the column: 'label_nummer_samen'. For the specific error messages read below.
Note: in example 3, I recieve the exact same error when removing 'label_nummer_samen' from the vector specified in the column_list argument (i.e. c("onderkaaklengte_comp", "geslacht_comp") instead of c("label_nummer", "onderkaaklengte_comp", "geslacht_comp"))
All these issues should be fixed by adding the missing package declarations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new utility function for extracting columns from the DMOGG dataset based on labels, improves documentation, and makes minor enhancements to dependencies and internal data loading. The most significant change is the addition of the
label_extracterfunction, which provides flexible options for selecting columns and optionally joining presence information for labels.New feature: Data extraction utility
label_extracterthat allows users to extract specific columns from the DMOGG dataset based on provided labels. The function supports multiple modes for column selection ("all", "select", "list", "group"), can join presence information, and is fully documented with usage examples. [1] [2] [3]Documentation improvements
label_extracter, including parameter descriptions, details, and usage examples.label_selecterregarding thelabel_typeparameter. [1] [2]Dependency and internal loading updates
purrrto theSuggestsfield in theDESCRIPTIONfile to support new functionality inlabel_extracter.label_selecterto use theread_dmogg()function for loading the georeferenced DMOGG dataset, ensuring consistency and maintainability.