tw_extract_single | R Documentation |
WikidataR
This function is mostly used internally and for testing.
tw_extract_single(w, language = tidywikidatar::tw_get_language())
w |
An object of class Wikidata created with |
language |
Defaults to language set with |
A data frame (a tibble) with four columns, such as the one created by tw_get
.
item <- tryCatch(WikidataR::get_item(id = "Q180099"),
error = function(e) {
as.character(e[[1]])
}
)
tidywikidatar:::tw_extract_single(w = item)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.