View source: R/sn_get_info_box.R
sn_get_info_box | R Documentation |
Get data from Wikidata and generate a box with key information
sn_get_info_box(
named_after_id,
language = "en",
connection = NULL,
disconnect_db = TRUE
)
named_after_id |
A wikidata identifiers, must start with "Q". |
language |
Defaults to "en". Must correspond to a two letter-code recognised by Wikidata. |
connection |
A database connection, or a list of parameters compatible with 'tidywikidatar'. |
A Shiny taglist / HTML code.
sn_get_info_box("Q676555")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.