Skip to content

Commit

Permalink
classification property added to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
antaldaniel committed Mar 2, 2025
1 parent 9002120 commit 0148956
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 6 additions & 2 deletions R/copy_wikidata_item.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
#' equivalent Wikidata QID as an external ID.
#' @param language A vector of language codes, for example, \code{c("en",
#' "et")}.
#' @param classification_property The instance of, or subclass of, or superclass
#' of property. Defaults to \code{NA_character} when not used.
#' @param classification_id The QID of the class. Defaults to
#' \code{NA_character} when not used.
#' @param wikibase_api_url For example,
#' \code{'https://reprexbase.eu/demowiki/api.php'}.
#' @param data_curator The name of the data curator who runs the function and
Expand All @@ -45,8 +49,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.}
Expand Down
10 changes: 8 additions & 2 deletions man/copy_wikidata_item.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0148956

Please sign in to comment.