curie: Extract Compact URI from resources

View source: R/resource.r

curieR Documentation

Extract Compact URI from resources

Description

The URI is compacted using the specified prefixes. If no prefixes are specified the defaults are taken from default_prefixes which can be overriden by setting the global option "ldf_prefixes".

Usage

curie(resource, prefixes = default_prefixes())

Arguments

resource

A vector of ldf_resources

prefixes

A named character vector mapping from prefix to namespace

Value

A character vector of compact URIs.


Swirrl/linked-data-frames documentation built on Sept. 14, 2022, 6:15 p.m.