Learn R Programming

rock (version 0.9.6)

generate_tssid: Generate a TSSID

Description

A TSSID is a Timestamped Source Identifier. It is a practically unique identifier for a source, conventionally the time and date the source was produced (e.g. when the data were collected, for example the time and date of an interview) in the UTC timezone and in ISO 8601 standard format.

Usage

generate_tssid(x = Sys.time(), addDelimiters = FALSE, designationSymbol = "=")

Value

The tssid

Arguments

x

The date and time to use.

addDelimiters

If TRUE, add the delimiters (by default, [[ and ]]).

designationSymbol

The symbol to use to designate an instance identifier for a class (can be "=" or ":" as per the ROCK standard).

Examples

Run this code
rock::generate_tssid();

Run the code above in your browser using DataLab