create_datetime: Create an attribute in dateTime Measurement Scale

View source: R/attribute-element.R

create_datetimeR Documentation

Create an attribute in dateTime Measurement Scale

Description

Create an attribute in dateTime Measurement Scale

Usage

create_datetime(date_time_format, date_time_precision, minimum, maximum)

Arguments

date_time_format

ISO 8601 format should be used.

date_time_precision

To what level of time your attribute is recorded.

minimum

The earliest dateTime recorded. Values can be larger than or equal to this number.

maximum

The latest dateTime recorded. Values can be less than or equal to this number.

Examples

## Not run: create_attribute(attribute_name = "Yrs",
                          attribute_definition = "Calendar year of the observation from years 1990 - 2010.",
                          measurement_scale = EMLaide::measurement_scale$dateTime,
                          attribute_label = "Years",
                          date_time_format = "YYYY", 
                          date_time_precision = "1", 
                          minimum = "1993", 
                          maximum = "2003")
## End(Not run)

CVPIA-OSC/EMLaide documentation built on Aug. 25, 2023, 8:53 a.m.