add_dates: Add Dates

Description Usage Arguments Details Examples

Description

Add dates to the administrative and descriptive metadata.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
add_dates(
  Date = Sys.Date(),
  Updated = Sys.Date(),
  UpdatedAtSource = NULL,
  Collected = NULL,
  EarliestObservation = NULL,
  LatestObservation = NULL,
  StructuralChangeAtSource = NULL,
  Accepted = NULL,
  Available = NULL,
  Created = NULL,
  Copyrighted = NULL,
  Issued = NULL,
  Submitted = NULL,
  Valid = NULL,
  Withdrawn = NULL,
  dates = NULL,
  format = "json"
)

Arguments

Date

The main date of the resource, unless otherwise stated, should equal first issue.

Updated

The date of the last update to the resource, when the resource is being added to. May be a range.

UpdatedAtSource

The date of the last update to the resource at its original source. May be a range.

Collected

The date or date range in which the resource content was collected. To indicate precise or particular timeframes in which research was conducted.

StructuralChangeAtSource

The date of the last structural data chanage at source.

Accepted

The date that the publisher accepted the resource into their system. To indicate the start of an embargo period, use Submitted or Accepted, as appropriate.

Available

The date the resource is made publicly available. May be a range. To indicate the end of an embargo period, use Available.

Created

The date the resource itself was put together; this could refer to a timeframe in ancient history, be a date range or a single date for a final component, e.g., the finalized file with all of the data. Recommended for discovery.

Copyrighted

The specific, documented date at which the resource receives a copyrighted status, if applicable.

Issued

The date that the resource is published or distributed e.g. to a data centre.

Submitted

The date the creator submits the resource to the publisher. This could be different from Accepted if the publisher then applies a selection process. To indicate the start of an embargo period, use Submitted or Accepted, as appropriate. Recommended for discovery.

Valid

The date or date range during which the dataset or resource is accurate.

Withdrawn

The date the resource is removed. It's good practice to indicate the reason for retraction of withdrawal in the descriptionType.

format

format Defaults to 'json', in which case a JSON-formatted single character string is returned. The alternative is 'list' or 'character' (for single Date only.)

FirstObservation

The date of the first actual observation (which is not estimated.)

LastObservation

The date of the last actual observation (which is not forecasted.)

Details

See the controlled date items in DataCite Metaadata Schema 4.4. #'

Examples

1

dataobservatory-eu/dataobservatory documentation built on Jan. 7, 2022, 8:55 p.m.