Skip to content

Commit

Permalink
Rewrite the pages about metadata in the docs (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
soininen authored Jan 30, 2024
2 parents a97c794 + 2563b3b commit 474d3a7
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 150 deletions.
3 changes: 1 addition & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ Welcome to Spine Database API's documentation!
front_matter
tutorial
parameter_value_format
metadata_description
results_metadata_description
metadata
db_mapping_schema
autoapi/index

Expand Down
60 changes: 60 additions & 0 deletions docs/source/metadata.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
********
Metadata
********

Metadata can be used to provide additional information about the data in Spine data structure.
Every entity and parameter value can have metadata associated with it.

A metadata "item" has a *name* and a *value*, e.g. "authors" and "N.N, M.M et al.".
The same metadata item can be referenced by multiple entities and parameter values.
Entities and values can also refer to multiple items of metadata.

.. note::

Referring to multiple items of metadata from a huge number of entities or parameter values
may take up a lot of space in the database.
Therefore, it might make more sense, for example,
to list all contributors to the data in a single metadata value than
having each contributor as a separate name-value pair.

Choosing suitable names and values for metadata is left up to the user.
However, some suggestions and recommendations are presented below.

title
One sentence description for the data.

sources
The raw sources of the data.

tools
Names and versions of tools that were used to process the data.

contributors
The people or organisations who contributed to the data.

created
The date this data was created or put together, e.g. in ISO8601 format (YYYY-MM-DDTHH:MM).

description
A more complete description of the data than the title.

keywords
Keywords that categorize the data.

homepage
A URL for the home on the web that is related to the data.

id
Globally unique id, such as UUID or DOI.

licenses
Licences that apply to the data.

temporal
Temporal properties of the data.

spatial
Spatial properties of the data.

unitOfMeasurement
Unit of measurement.
105 changes: 0 additions & 105 deletions docs/source/metadata_description.rst

This file was deleted.

43 changes: 0 additions & 43 deletions docs/source/results_metadata_description.rst

This file was deleted.

0 comments on commit 474d3a7

Please sign in to comment.