refine_query: Helper function to build OpenRefine API query

Description Usage Arguments Value

View source: R/utils.R

Description

Starting with the path to the running instance, this function will add a query command and (optionally) a CSFR token with refine_token

Usage

1
refine_query(query, use_token = TRUE, ...)

Arguments

query

Character vector specifying the API endpoint to query

use_token

Boolean indicating whether or not the query string should include a CSRF Token (see refine_token; default is TRUE

...

Additional parameters to be inherited by refine_path; allows users to specify host and port arguments if the OpenRefine instance is running at a location other than http://127.0.0.1:3333

Value

Character vector with query based on parameter entered


rrefine documentation built on Oct. 4, 2021, 9:07 a.m.