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 user to specify how column types are determined #194

Closed
2 tasks done
wibeasley opened this issue May 25, 2018 · 0 comments · Fixed by #195
Closed
2 tasks done

allow user to specify how column types are determined #194

wibeasley opened this issue May 25, 2018 · 0 comments · Fixed by #195
Assignees

Comments

@wibeasley
Copy link
Member

wibeasley commented May 25, 2018

Related to the readr changes that prompted #193, there are several places where REDCapR is throwing warnings, or not converting variables properly. Here are two options that should help

  • an guess_type parameter, that forces all columns to be interpreted as strings. This is similar to the as.is parameter for base::read.table().
  • a guess_max parameter, that's passed to readr::readr_csv(), which specifies how many rows should be considered when guessing at the data type.
@wibeasley wibeasley self-assigned this May 25, 2018
wibeasley added a commit that referenced this issue May 25, 2018
wibeasley added a commit that referenced this issue May 25, 2018
@wibeasley wibeasley mentioned this issue May 25, 2018
Merged
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

Successfully merging a pull request may close this issue.

1 participant