sn_tidy_wiki: Return (almost) all information from a Wikidata item in a...

View source: R/sn_search_wiki.R

sn_tidy_wikiR Documentation

Return (almost) all information from a Wikidata item in a tidy format

Description

Return (almost) all information from a Wikidata item in a tidy format

Usage

sn_tidy_wiki(id, cache = TRUE)

Arguments

id

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

cache

Logical, defaults to TRUE. If TRUE, it stores all retrieved data in a local sqlite database.

Value

A data.frame (a tibble) with two columns: property and value

Examples

## Not run: 
sn_extract_wiki("Q254")

## End(Not run)


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