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

fixed a bug about peloton_id being treated as a date #10

Closed
wants to merge 1 commit into from
Closed

fixed a bug about peloton_id being treated as a date #10

wants to merge 1 commit into from

Conversation

jamesinottawa
Copy link

@jamesinottawa jamesinottawa commented Sep 1, 2020

My peloton id starts with 10 digits so added it to the ignored columns.

Also have a better fix for hashes that should work for all the ids.

This would be replacing the line with
true[[i]] <- grepl("^1[0-9]{9}",x=dataframe[[name]]) && !grepl("[0-9a-f]{32}",x=dataframe[[name]]) && !is.list(dataframe[[name]])

@bweiher
Copy link
Owner

bweiher commented Dec 30, 2020

thanks for this @jamesinottawa -- I just implemented your fix (apologies for the delay in looking at this).

Also have a better fix for hashes that should work for all the ids.

Feel free to open this up as a PR or another issue for your alternative hash fix -- I'll take a look! Thank you for the contribution !

@bweiher bweiher closed this Dec 30, 2020
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 this pull request may close these issues.

2 participants