From 8e63389bbec35a78c4d01b72d2a87d4be704ec10 Mon Sep 17 00:00:00 2001 From: Allan Bowe <> Date: Tue, 16 Oct 2018 10:08:10 +0200 Subject: [PATCH] adding use case diagram and more detail on file upload process --- docs/dc-userguide.md | 20 ++++++++++++-------- docs/dcu-fileupload.md | 2 ++ docs/img/dcu-usecase.svg | 1 + 3 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 docs/img/dcu-usecase.svg diff --git a/docs/dc-userguide.md b/docs/dc-userguide.md index d476d26..89236f1 100644 --- a/docs/dc-userguide.md +++ b/docs/dc-userguide.md @@ -10,9 +10,9 @@ The Data Controller has 5 tabs, as follows: * *[Approvals](#approvals)*. This shows an approver all their outstanding approval requests. * *[History](#history)*. This shows an auditor, or other interested party, what changes have been submitted for each table. -## Viewer +### Viewer -### Overview +#### Overview The viewer screen provides users with a raw view of underlying data. It is only possible to view tables that have been registered in metadata. Advantages of using the viewer (over client tools) for browsing data include: @@ -20,7 +20,7 @@ Advantages of using the viewer (over client tools) for browsing data include: * In the case of SAS datasets, prevent file locks from ocurring * Ability to quickly download a CSV / Excel / SAS Cards program for that table -### Usage +#### Usage Choose a library, then a table, and click view to see the first 5000 rows. A filter option is provided should you wish to view a different section of rows. @@ -34,7 +34,7 @@ The Download button gives three options for obtaining the current view of data: Note - if the table is registered in Data Controller as being TXTEMPORAL (SCD2) then the download option will prefilter for the _current_ records and removes the valid from / valid to variables. This makes the CSV a suitable format for subsequent DC file upload, if desired. -## Editor +### Editor The Editor screen lets users who have been pre-authorised (via the `DATACTRL.MPE_SECURITY` table) to edit a particular table. A user selects a particular library, and table and then has 3 options: @@ -51,13 +51,17 @@ New rows can be added using the right click context menu, or the 'Add Row' butto When ready to submit, hit the SUBMIT button and enter a reason for the change. The owners of the data are now alerted (so long as their email addresses are in metadata) with a link to the approve screen. If you are also an approver you can approve this change yourself. -## Submitted +### Submitted This page shows a list of the changes you have submitted (that are not yet approved). -## Approvals +### Approvals This shows the list of changes that have been submitted to you (or your groups) for approval. -## History +### History View the list of changes to each table, who made the change, when, etc. -## Functionality +## Use Case Diagram + +There are four Actors (Viewer, Editor, Approver, Auditor) and 3 primary use cases (View Table, Edit Table, Approve Change, View Change History) + + diff --git a/docs/dcu-fileupload.md b/docs/dcu-fileupload.md index 928f43c..a82e0ae 100644 --- a/docs/dcu-fileupload.md +++ b/docs/dcu-fileupload.md @@ -14,6 +14,8 @@ The following should be considered when uploading data in this way: - Additional columns are ignored - The order of variables does not matter - The delimiter is extracted from the header row (so for `var1;var2;var3` the delimeter would be assumed to be a semicolon) + - The above assumes the delimeter is the first special character! so `var,1;var2;var3` would fail + - The following characters should not be used as delimeters: `"' ` (doubleqoute, quote, space) When loading dates, be aware that the data controller makes use of the `ANYDTDTE` and `ANYDTDTTME` informats. This means that uploaded date / datetime values should be unambiguous (eg `01FEB1942` vs `01/02/42`) to avoid confusion - as the latter could be interpreted as `02JAN2042` depending on your locale and options `YEARCUTOFF` settings. diff --git a/docs/img/dcu-usecase.svg b/docs/img/dcu-usecase.svg new file mode 100644 index 0000000..e47ff09 --- /dev/null +++ b/docs/img/dcu-usecase.svg @@ -0,0 +1 @@ + \ No newline at end of file