diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2021-01-18 16:48:57 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2021-01-18 16:48:57 +0000 |
commit | 539aa535ea977d38e3919114292790ba694de2ff (patch) | |
tree | 36e8252198002d07120816f7d54659261a097348 | |
parent | 7ca175d394e81fd63a6e0187d3e4c92b5839d197 (diff) |
some further help text changes
-rw-r--r-- | datamaps/main.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/datamaps/main.py b/datamaps/main.py index 5980655..a2c7e03 100644 --- a/datamaps/main.py +++ b/datamaps/main.py @@ -187,8 +187,12 @@ def templates(to_master, datamap, rowlimit, inputdir, validationonly): output directory after import. If there is no 'type' column in the datamap, no validation report is produced. Any or all lines in the datamap can be given a type (currently, only TEXT, NUMBER and DATE are implemented) - the validation report will flag lines that do not have a - type as UNTYPED. Cells in the template which are given types in the datamap but which are empty - in the template will be flagged as NO VALUE RETURNED. Empty cells are also flagged as EMPTY. + type as UNTYPED. Cells in the template which are empty but are required by the datamap will be + flagged as FAIL and NO VALUE RETURNED - the idea being that the inclusion of a datamap line + suggests a value is expected. + + The validation report, being a simple CSV file, can and should be opened in a spreadsheet program + and can be filtered and sorted to the user's needs. If you only require validation, use the -v flag instead of -m - no master will be produced, only a validation report. This may provide another almost inperceptible performance benefit as producing |