NAME
Catmandu::Fix::lido_term - create a term
and conceptID
node in a path
SYNOPSIS
lido_term(
path,
term,
-conceptid: conceptID,
-lang: term.lang,
-pref: term.pref,
-source: conceptID.source,
-type: conceptID.type
)
DESCRIPTION
Create a node consisting of a term
and a conceptID
in a path
.
Parameters
Required parameters
The parameters term
and path
are required path parameters.
term
path
Optional parameters
conceptid
is an optional path parameter.
conceptid
All other optional parameters are strings.
lang
pref
source
type
EXAMPLE
Fix
lido_term(
category,
recordList.record.category.value,
-conceptid: recordList.record.category.id,
-type: global,
-source: 'cidoc-crm',
)
Result
<lido:category>
<lido:conceptID lido:type="global" lido:source="cidoc-crm">123</lido:conceptID>
<lido:term>Paintings</lido:term>
</lido:category>