From ea0850a9cff2b2d66931faa40d44bbc5dfb202f7 Mon Sep 17 00:00:00 2001 From: antaldaniel Date: Mon, 3 Mar 2025 00:26:55 +0100 Subject: [PATCH] classification_property added to return items --- R/copy_wikidata_item.R | 4 ++-- man/copy_wikidata_item.Rd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/copy_wikidata_item.R b/R/copy_wikidata_item.R index 9612a9c..3d3a37c 100644 --- a/R/copy_wikidata_item.R +++ b/R/copy_wikidata_item.R @@ -45,8 +45,8 @@ #' \item{"wikibase_api_url"}{ The MediaWiki API URL where the new property is created.} #' \item{"equivalence_property"}{ The PID that connects an equivalence ID to the property.} #' \item{"equivalence_id"}{ The ID of an equivalent property defined elsewhere.} -#' \item{"classification_property"}{ Not applicable for properties.} -#' \item{"classification_id"}{ Not applicable for properties.} +#' \item{"classification_property"}{ The PID that connects the item to a superclass, or class.} +#' \item{"classification_id"}{ The QID of a class, subclass or superclass.} #' \item{"success"}{ TRUE if successfully created, FALSE if there was an error.} #' \item{"comment"}{ A summary of the error messages(s), if success is FALSE.} #' \item{"time"}{ The time when the action started.} diff --git a/man/copy_wikidata_item.Rd b/man/copy_wikidata_item.Rd index bbca4af..2083a11 100644 --- a/man/copy_wikidata_item.Rd +++ b/man/copy_wikidata_item.Rd @@ -84,8 +84,8 @@ Returns a dataset_df object. The columns are: \item{"wikibase_api_url"}{ The MediaWiki API URL where the new property is created.} \item{"equivalence_property"}{ The PID that connects an equivalence ID to the property.} \item{"equivalence_id"}{ The ID of an equivalent property defined elsewhere.} -\item{"classification_property"}{ Not applicable for properties.} -\item{"classification_id"}{ Not applicable for properties.} +\item{"classification_property"}{ The PID that connects the item to a superclass, or class.} +\item{"classification_id"}{ The QID of a class, subclass or superclass.} \item{"success"}{ TRUE if successfully created, FALSE if there was an error.} \item{"comment"}{ A summary of the error messages(s), if success is FALSE.} \item{"time"}{ The time when the action started.}