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

Allow guess_max = Inf in redcap_read_oneshot() #392

Closed
eveyp opened this issue May 11, 2022 · 1 comment
Closed

Allow guess_max = Inf in redcap_read_oneshot() #392

eveyp opened this issue May 11, 2022 · 1 comment
Assignees

Comments

@eveyp
Copy link

eveyp commented May 11, 2022

In readr v2.0+, the guess_max argument can be set to Inf to use all of the data to determine the column type. Right now, it seems that the argument checking requires an integer so this option can't be used.

Can that be changed to allow this option?

@wibeasley wibeasley self-assigned this May 11, 2022
@wibeasley
Copy link
Member

Thanks. That's a good suggestion.

Any reason to change the value the default value of 1,000? It sounds like you've read it already, but for convenience, here's readr's approach to guess_max: https://readr.tidyverse.org/articles/column-types.html. And you're right, REDCapR uses 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants