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

Add a cleaning function incorporating findings from dissertation #20

Open
ryentes opened this issue Dec 28, 2019 · 2 comments
Open

Add a cleaning function incorporating findings from dissertation #20

ryentes opened this issue Dec 28, 2019 · 2 comments

Comments

@ryentes
Copy link
Owner

ryentes commented Dec 28, 2019

a functional prototype might look like

function id_careless(df, method='longstring', clean=FALSE) {

}

@franciscowilhelm
Copy link
Collaborator

Function features should:

  • allow multiple methods to be selected, e.g. method = c('longstring', 'evenodd')
  • allow additional arguments via ...
  • validate user arguments with easy to understand errors and warnings
  • depending on output: S3 object with its own summary and print function

@franciscowilhelm
Copy link
Collaborator

franciscowilhelm commented Apr 25, 2021

Output could include

  • call
  • dataset (modified with new column called careless, logical with TRUE FALSE for flagged / non-flagged responses)
  • cleaned dataset (filtered rows)
  • a list for each used method, e.g. list longstring with a) arguments/parameters; b) output (index values), and c) flagged on that method (logical vector)

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

No branches or pull requests

2 participants