NEWS


qmra.db 0.10.0

Prepare for first release on KWB community on Zenodo:

qmra.db 0.9.0

BREAKING CHANGES: due to converting repo as R package

Moved from / into /inst/database directory (required for R Package):

R files:

tbl_inflow:

Prepare public release (#1)

qmra.db 0.8.0

"rawdata" folder:

tbl_treatment:

tbl_logRemoval

qmra.db 0.7.1

tbl_treatment:

tbl_logRemoval

qmra.db 0.7.0

tbl_treatment: renamed treatment processes

tbl_references:

tbl_waterSource

tbl_ingestion

tbl_inflow:

tbl_logRemoval

qmra.db 0.6.1

tbl_pathogenGroup:

conversion of ACCESS mdb to mySQL: https://dev.mysql.com/doc/workbench/en/wb-migration-database-access.html

qmra.db 0.6

Based on v0.4 after integrating most modifications performed by @PatrickSmeetsKWR in v0.5 but without rename/deletion of currently unneeded pathogens from multiple MS ACCESS tables.

tbl_pathogenGroup: added a new column “DefaultPathogenID” which contains a default PathogenID (see look-up table "tbl_pathogen") for each pathogen group. Current defaults are:

tbl_inflow: added @PatrickSmeetsKWR`s adaptations in DB version v0.5 (but keeping all pathogen names of DB v0.4). In addition set default distribution to "uniform" instead of "lognormal".

Reason: implementation of "lognorm" function in R package "kwb.qmra" needs to be re-programmed/tested in order to work properly (current test by myself gives unreasonable results!). Scheduled to be done after GA in Greece by @mrustl. In addition also other distributions requiring "beta" or "alpha" parameters need to be added in the R package.

qmra.db 0.5

Based on v0.4 (changes by @PatrickSmeetsKWR):

tbl_inflow Added new parameters to allow for stochastic distribution parameters to be entered "distribution"= the type of stochastic distribution to describe uncertainty about mean concentration "alpha" "beta" = the parameters of this distribution, assuming that no more than two parameter distributions will be used. e.g. with normal distribution alpha is the mean and beta is the standard deviation

@PatrickSmeetsKWR`s questions for @mrustl: align naming of distributon type with R or make sure R can translate it. Also allow for input of these parameters through the .csv file Check: entered now as lognormal, entered values as normal distributed over log concentration (mean=min+max/2 stdev=mean-min in log values)

tbl_inflow Changed Field size of min, max, alpha, beta to "Double" to allow for digits in the values (concentrations <1/l)

tbl_waterSource: changed field names for consistency and added descriptions of water sources

tbl_pathogen: added "viruses" "bacteria" and "protozoa" since this is the level that selections are made all other pathogens were removed from this table for this level assessment I saved original table: "Copy Of tbl_pathogen"

tbl_doseResponse: added viruses (rotavirus) bacteria (campy) protozoa (crypto) Note: need to check which one was chosen by @mrustl since there are multiple D-R for some organisms

tbl_health: changed to viruses (rotavirus) bacteria (campy) protozoa (crypto)

Note: Why is tbl_pathogen:tbl_doseResponse a one to many? each pathogenID has a single dose response. So these don't need to be in separate tables Note: Log removal is now based on pathogen type, however it should be per pathogen (adenovirus different from enterovirus etc. althogh some will be the same due to lack of detail) Note: the front end selects data from databases based on user selection. It then combines all relevant information from databases in csv files for the R-tool. For the front end it keeps other data to store the scenario and later on make graphs etc.

tbl_exposure changed name to "tbl_ingestion" since exposure is generally used for the pathogens and we want to show that exposure as output. e.g. WHO QMRAdoc "magnitude and frequency of exposure to reference pathogens via the defined exposure pathways and hazardous events" although the term isn't used consistently (e.g. Table A5.4)

@PatrickSmeetsKWR`s questions for @mrustl: the .csv file "exposure" is very different from "tbl_exposure". Please clarify what should be sent from the front end to the R-tool:

Note that we allow only one intended use, for other applications the user needs to do a separate run of the model

qmra.db 0.4

Based on v0.3

Added new parameter "...Description" in the following tables:

Updated DB structure overview with new parameter

qmra.db 0.3

Status after internal QA with DB expert @hsonne:

ACCESS table names for each step

qmra.db 0.2

Based on v0.1

qmra.db 0.1

MS Access database "qrma-db.accdb" generated with R script "db-initialGeneration.R" containing first draft of MS ACCESS database and R script using data from Old Ford Public Irrigation scenario for generating and exporting the tables to ACCESS

All tables/queries in DB are exported with R script "db-export.R" as .csv files into subfolder "qmra-db_accdb"