refine_query: Helper function to build OpenRefine API query

View source: R/utils.R

refine_queryR Documentation

Helper function to build OpenRefine API query

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

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


vpnagraj/rrefine documentation built on Nov. 21, 2022, 12:20 a.m.