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

Testing testdata part2 -- addition of some columns/checks #15

Open
lagerweijgr opened this issue Oct 29, 2024 · 0 comments
Open

Testing testdata part2 -- addition of some columns/checks #15

lagerweijgr opened this issue Oct 29, 2024 · 0 comments

Comments

@lagerweijgr
Copy link
Collaborator

We would like to have some extra checks / adjustments in the pipeline

host_events.csv

  1. measurement_unit needs to be obligatory and filled (if measurement_quanity is filled),

  2. If measurement_quantity is 0 or 1 --- then the measurement_unit needs to be a bool

  3. treatment_unit needs to be obligatory and filled! (if treatment_dose is filled)

  4. treatment_dose is 0 or 1 --- then the treatment_unit needs to be a bool

  5. Maybe rename treatment_dose -> treatment_quantity for simplicity

  6. if Inoculation_dose is 0 or 1 -> inoculation_unit needs to be a boolean (bool)

  7. Incoculation_unit is obligatory (if inoculation_dose is filled), and filled

host.csv

  1. Add extra column with the unit of the age of the host (for example host_age_unit)
  2. This column is obligatory
  3. Format is a list with (hours/days/week/months/year) or (H / D / W / M / Y)
  4. Add column host_round (format is integer)

enviroment.csv
There is a column missing -- we discussed this with Stefano a few weeks back

  1. Add extra colum "environment_parent (format is a string )
  2. The value in this column needs to be present as "environment_id" column -- (see attachment)
  3. add column host_round (format is integer)
    environment_events

environmnet_event.csv

  1. Measurement_unit is obligatory (and needs to be filled if measurement_quantity is filled).
  2. If measurement_quantity is 0 -1 , then the measurement_unit is bool
  3. Add column with name "environment_round" (with format integer)
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

No branches or pull requests

1 participant