Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: xportr_metadata() should allow passing of verbose as well #151

Closed
bms63 opened this issue Jun 7, 2023 · 0 comments · Fixed by #199
Closed

Feature Request: xportr_metadata() should allow passing of verbose as well #151

bms63 opened this issue Jun 7, 2023 · 0 comments · Fixed by #199
Assignees
Labels

Comments

@bms63
Copy link
Collaborator

bms63 commented Jun 7, 2023

Feature Idea

xportr_metadata() should allow passing of verbose as well

Relevant Input

metadata <- data.frame(
dataset = "test",
variable = c("Subj", "Param", "Val", "NotUsed"),
type = c("numeric", "character", "numeric", "character"),
order = c(1, 3, 4, 2)
)

adlb <- data.frame(
Subj = as.character(123, 456, 789),
Different = c("a", "b", "c"),
Val = c("1", "2", "3"),
Param = c("param1", "param2", "param3")
)

You have to set each verbose to get feedback.

adlb %>%
xportr_metadata(metadata, "test") %>%
xportr_type(verbose = 'warn') %>%
xportr_order(verbose = 'warn')

Better if you could set at the top

adlb %>%
xportr_metadata(metadata, "test", verbose = 'warn') %>%
xportr_type() %>%
xportr_order()

@EeethB EeethB self-assigned this Nov 9, 2023
@EeethB EeethB linked a pull request Dec 5, 2023 that will close this issue
14 tasks
bms63 added a commit that referenced this issue Jan 29, 2024
Closes #151 - Metadata includes `verbose` option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants