sn_filter_people: Filter search result and keep only people

View source: R/sn_filter.R

sn_filter_peopleR Documentation

Filter search result and keep only people

Description

Filter search result and keep only people

Usage

sn_filter_people(search, language = "ro", limit = 10)

Arguments

search

A data frame generated by 'sn_search_wiki()', or a search query. If a data frame is given, language and limits are ignore.

language

Language to be used for the search.

limit

Maximum numbers of responses to be given.

Value

A data frame with three columns, 'id', 'label', and 'description'; all rows refer to a human being.

Examples

## Not run: 
sn_search_wiki("Antonio Vivaldi") %>%
  sn_filter_people()

## End(Not run)


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