Category Schemes and Categorisations

From Metadata Technology Wiki
Jump to navigation Jump to search


Category Schemes are the container for one or more Categories. Categories can be built into a hierarchy. A Category is used to provide the means to categorise any other structure type, this creates a link between the Category and the target structure.

A Categorisation is an independently maintained structure, which can be used to satisfy any use case where a structure requires a high-level grouping. A typical use case for data dissemination is to link a Dataflow to one or more Categories using Categorisations. This use case allows a user to find Dataflows by Category.

Example Category Scheme


Step 1 - High Level Details

The steps in a Category Scheme Wizard includes step 1 which provides the generic, high level details about the Category Scheme. See this article for more information on authoring and maintaining structures.

Step 2 - Import Categories

The second step allows the user to import Categories from CSV.

Categoty Scheme - Step 2

CSV text can be copied and pasted into the text field provided, and on clicking ‘Next’, the CSV is checked for correctness.

When Importing Categories via CSV it is important to note that the following:

  1. Categories will be added to the Category Scheme, and therefore this step can be used to add additional Categories to a Category Scheme which already has Categories.
  2. The import language for the name and description fields is defined in the drop-down list above the text area.
  3. If a Category with the given Id already exists, it will be modified based on the information supplied in the CSV. Modifications include the addition of names or descriptions in a new language into an existing Category.
  4. Sub-Categories can be created by using the dot ‘.’ notation to include the ids of the parent Category(ies). This is shown in the image above where 1.1 is a sub-Category of Category 1.
  5. The same number of delimiters are required for each line, even if there is no information for the field, shown above where Frequency includes an additional comma followed by no text (there is no Parent Concept Id).
  6. If a field contains the delimiter (for example if a name includes a comma) then the text can be put in double quotes.

If valid, Categories are created and added to the Category Scheme, shown in step 3.

Step 3 - Manual Editing

The third step is to manually add, edit, delete, Categories. Additionally, this step can be used to organise Category position in the Category hierarchy, this is achieved using the drag and drop support on the Category in the tree.

Category Scheme - Step 3

Categorising Structures

A Categorisation is used to create a link between a Category and any other structure in the Registry.

To create a Categorisation, first select a Category Scheme from the Category Schemes page, and then click View Category Scheme.

Adding Categorisations - Click View

From the Category Scheme view, select the Category to link the structure to, and click Create Categorisation, as highlighted in the image below.

Create Categorisations

The final step is to choose which structures to Categorise. First select which Agency will own the Categorisation, and then select the target structure type followed by the target structure(s). This is shown in the image below.

Select Structures

The Category Scheme view includes the linked structures. The link can be deleted from this view for each individual structure, as shown below, or in bulk by clicking Delete Categorisations, which will open-up a bulk delete window.

Categorisations - Delete