adding use case diagram and more detail on file upload process

This commit is contained in:
Allan Bowe 2018-10-16 10:08:10 +02:00
parent 755253f27b
commit 8e63389bbe
3 changed files with 15 additions and 8 deletions

View File

@ -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)
<img src="/img/dcu-usecase.svg" height="350" style="border:3px solid black" >

View File

@ -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.

1
docs/img/dcu-usecase.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 26 KiB