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

Data text delimited well formed #447

Open
jeanetteclark opened this issue Apr 23, 2024 · 0 comments
Open

Data text delimited well formed #447

jeanetteclark opened this issue Apr 23, 2024 · 0 comments

Comments

@jeanetteclark
Copy link
Contributor

Status : ✍️ Drafted

Description

Check that a text delimited data file is well formed

Priority

  • Data Quality: Required

Issues

  • So far this isn't a great check since there are lots of ways to get a data frame read in, but not in the intention of the original data submitter. For example, you could potentially read in all of the columns into a single column and get a data frame and pass the check

Procedure

  • extract the fieldDelimiter and numHeaderLines for the data file
  • pass that into read.table along with the file path
  • if the result of read.table is a data frame the check is considered to have passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Review
Development

No branches or pull requests

1 participant