query_aat: Query the Getty AAT SPARQL Service

Description Usage Arguments Value

View source: R/query_aat.R

Description

Function to query the Getty Art & Architecture Thesaurus.

Usage

1
query_aat(term = NA, query_type = NA, keywords_string = NA)

Arguments

term

String to check against the AAT

query_type

Which query to use, one of: 'direct', 'anylabel', 'fulltext', or 'widesearch'

keywords_string

String or list to extract keywords from to try to get a better match (optional)

Value

A dataframe of term (the string provided), aat_term (the matched term from AAT), aat_id (the id of the term, prefixed with 'aat:'), aat_note (Notes of the term), aat_parents (parent categories of the term).


Smithsonian/collexScrub documentation built on July 19, 2019, 6:59 p.m.