identifier_factory: Manufacturing Identifier Constructors

Description Usage Arguments Value

View source: R/identifier.R

Description

Manufacturing Identifier Constructors

Usage

1
identifier_factory(fun, prefixes, def_prefix)

Arguments

fun

list of lookup functions to be tried. The functions should have the same arguments (see ... below). As soon as we have a unique match the function execution halts. If there is no match, a URI with the base prefix (the one indiciated by "_base") and a UUID will be generated.

prefixes

Named character that contains the prefixes to be used for identifier construction after each lookup.

def_prefix

to use if all else fails

Value

an indetifier constructor function. The identifier constructor has two arguments. "label" is a list of argument lists to 'fidentifier', "generate" is a boolean of whether to generate


vsenderov/rdf4r documentation built on May 3, 2019, 4:02 p.m.