query_word: Wrapper around catch_error_json to create the right output...

Description Usage Arguments Value

View source: R/word-service.R

Description

This function takes the result of the error catching json function as returns either results if the request was successful or a list with the same dimensions as a successful request but with NAs

Usage

1

Arguments

url

URL for the API request

...

Additional arguments passed to catch_error_json. For now quietly = FALSE enables the display of warnings, whenever a word has not entry in the corpus

Value

A list with the query results or a list with NAs


tgraf0/wortschatzR documentation built on Dec. 27, 2018, 2:29 a.m.