REST API for building citation text was built
A REST API for building the citation text is to be built.
The citation should be:
{PI}: time series of {var} at {station},
accessed from the TOAR database on {date} of {dataset_version}
Addition (2022-03-07):
The above citation should be made clearer by adding the words "original dataset version":
{PI}: time series of {var} at {station}, accessed from the TOAR database on {date}, original dataset version {dataset_version}
For data networks / missing PI and/or missing version the citation turns into:
{resource_provider_longname}: time series of {var} at {station}, accessed from the TOAR database on {date} [, original dataset version {dataset_version}]