View source: R/sn_get_gender_label.R
sn_get_gender_label | R Documentation |
Get gender label based on a Wikidata Q identifier
sn_get_gender_label(
named_after_id,
language = tidywikidatar::tw_get_language(),
cache_connection = NULL,
cache = TRUE,
disconnect_db = TRUE
)
named_after_id |
Wikidata Q identifier. |
language |
to be passed to 'tidywikidatar' for caching. Label is always returned in English. |
cache_connection |
Defaults to NULL, Passed to 'tidywikidatar'. |
cache |
Defaults to TRUE. Passed to 'tidywikidatar'. |
if (interactive()) {
sn_get_gender_label("Q7186")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.