interval | R Documentation |
interval
vectorThis represents an interval from the UK Government intervals ontology.
interval(uri) is_interval(x)
uri |
A character vector of URIs |
x |
An interval |
is_interval
returns TRUE
if x
is an interval and FALSE
otherwise.
An S3 vector of class ldf_interval
.
year <- interval("http://reference.data.gov.uk/id/year/2020") is_interval(year) month <- interval("http://reference.data.gov.uk/id/month/2020-07") day <- interval("http://reference.data.gov.uk/id/day/2020-04-22") p7d <- interval("http://reference.data.gov.uk/id/gregorian-interval/2020-04-27T00:00:00/P7D") gov_year <- interval("http://reference.data.gov.uk/id/government-year/2019-2020")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.