catch_error_json: Helper function which catches (404) errors, when requesting a...

Description Usage Arguments Value

View source: R/helper.R

Description

Helper function which catches (404) errors, when requesting a JSON from a remote source

Usage

1
catch_error_json(txt, quietly = TRUE)

Arguments

txt

String: URL to the JSON file

quietly

If FALSE, a warning message is returned, whenever an error is encountered. Default: TRUE

Value

A list with the query results and the potential error message


tgraf0/wortschatzR documentation built on May 5, 2019, 3:51 a.m.