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

[DataChallenge] Automated quality checks #5

Open
4 tasks
mmaelicke opened this issue Dec 29, 2020 · 0 comments
Open
4 tasks

[DataChallenge] Automated quality checks #5

mmaelicke opened this issue Dec 29, 2020 · 0 comments
Labels
Data Challenge This issue is Data Challenge eligible

Comments

@mmaelicke
Copy link
Member

This issue is part of a DataChallenge.

We are organizing the HOBO measurements in a folder and file structure. That means, the folder, the file name and the MIME type have a meaning and are already encoding valuable metadata. The folder location is: /hobo/<year>/<type>/<hobo_id>.(csv|txt).

  • <year> is the year the data lecture took place
  • <type> is the interesting part here. This encodes the type of data and can be /raw/ or /hourly/.
  • The files have the identifier for the measuring device in their file name, which can be related to the metadata for the corresponding year.

The raw HOBO measurements are uploaded by the students each year and quality controls are worked out and implemented. This step could be automated by a Github action. This would include various steps:

  • identify quality checks, that work for all raw data in the repository
  • include a new folder called /scripts and include a qpclib.(R|py) file that defines the checks and transforms
  • include a script per-file type and/or year (as necessary) that consumes the qpclib.(R|py) provided functions
  • implement a Github action that runs the scripts, whenever new HOBO data was added

Finally, the quality checks changed a little bit with every year and in many cases, individual students made some adaptions to their implementation. Therefore the results should be persisted in yet another folder and can be compared to the provided hourly data.

Using Python over R is generally preferred for this task, as the integration in automated workflows can be quite a hassle with R.

@mmaelicke mmaelicke added the Data Challenge This issue is Data Challenge eligible label Dec 29, 2020
@mmaelicke mmaelicke changed the title [DataChallange] Automated quality checks [DataChallenge] Automated quality checks Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data Challenge This issue is Data Challenge eligible
Projects
None yet
Development

No branches or pull requests

1 participant