Skip to content

create_property data_curator issue #39

@mesteranna

Description

@mesteranna

there are two example of this code in the article

  • p107 <- create_property - does not have the data_curator line
  • ric_equivalence_pid <- create_property - has data_curator line

ric_equivalence_pid <- create_property(
label = "RiC equivalent property",
description = "The equivalent property in Records in Context, an ontology used in archives.",
language = "en",
datatype = "external-id",
wikibase_api_url = "https://reprexbase.eu/jekyll/api.php",
log_path = tempdir(),
data_curator = person(
given="Joe", family="Doe", middle = "M",
email = "[email protected]", role = "ctb"), # add your data here with person()
csrf = my_csrf
)

When I tested this code add my name I got this error:
Warning message: In person1(given = given[[i]], family = family[[i]], middle = middle[[i]], :
It is recommended to use ‘given’ instead of ‘middle’.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions