Update 'README.md'

This commit is contained in:
steve 2018-09-27 10:49:19 -05:00
parent 991a3cb6c9
commit 4df27a251c
1 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@ This project is intended to compute an estimated value of risk for a given datab
3. Compute risk via SQL using group by 3. Compute risk via SQL using group by
## Python environment ## Python environment
The following are the dependencies needed to run the code: The following are the dependencies needed to run the code:
pandas pandas
numpy numpy
@ -17,16 +17,17 @@ This project is intended to compute an estimated value of risk for a given datab
## Usage ## Usage
*Generate The merged dataset **Generate The merged dataset**
python risk.py create --i_dataset <in dataset|schema> --o_dataset <out dataset|schema> --table <name> --path <bigquery-key-file> --key <patient-id-field-name> [--file ] python risk.py create --i_dataset <in dataset|schema> --o_dataset <out dataset|schema> --table <name> --path <bigquery-key-file> --key <patient-id-field-name> [--file ]
* * Compute risk (marketer, prosecutor) **Compute risk (marketer, prosecutor)**
python risk.py compute --i_dataset <dataset> --table <name> --path <bigquery-key-file> --key <patient-id-field-name> python risk.py compute --i_dataset <dataset> --table <name> --path <bigquery-key-file> --key <patient-id-field-name>
## Limitations ## Limitations
- It works against bigquery for now - It works against bigquery for now
@TODO: @TODO:
- Need to write a transport layer (database interface) - Need to write a transport layer (database interface)
- Support for referential integrity, so one table can be selected and a dataset derived given referential integrity - Support for referential integrity, so one table can be selected and a dataset derived given referential integrity