tw_get_property_with_details_single: Gets all details of a property

View source: R/tw_get_property_with_details.R

tw_get_property_with_details_singleR Documentation

Gets all details of a property

Description

Gets all details of a property

Usage

tw_get_property_with_details_single(id, p)

Arguments

id

A character vector, must start with Q, e.g. "Q254" for Wolfgang Amadeus Mozart.

p

A character vector, a property. Must always start with the capital letter "P", e.g. "P31" for "instance of".

Value

A tibble, corresponding to the details for the given property. NULL if no relevant property found.

Examples

# Get "female form of label", including language
tidywikidatar:::tw_get_property_with_details_single(id = "Q64733534", p = "P2521")

tidywikidatar documentation built on March 31, 2023, 9:08 p.m.