sn_get_info_box: Get data from Wikidata and generate a box with key...

View source: R/sn_get_info_box.R

sn_get_info_boxR Documentation

Get data from Wikidata and generate a box with key information

Description

Get data from Wikidata and generate a box with key information

Usage

sn_get_info_box(
  named_after_id,
  language = "en",
  connection = NULL,
  disconnect_db = TRUE
)

Arguments

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'.

Value

A Shiny taglist / HTML code.

Examples


sn_get_info_box("Q676555")

giocomai/streetnamer documentation built on Oct. 14, 2023, 6:27 p.m.