ds_query: Run a query against a data set in Domo.

ds_queryR Documentation

Run a query against a data set in Domo.

Description

Run a query against a data set in Domo.

Usage

ds_query(ds, query, return_data = TRUE)

Arguments

ds

Data set id from Domo.

query

DQL query to process

return_data

TRUE if you want a tibble returned, FALSE for the original output

Value

When return_data = TRUE this function will return a tibble. Note that the way ds_query handles NA values is different than ds_get. You may see different data types from these two functions as a result.

The API currently returns a limit of 1M records. We look to retrieve more than 1M records in future versions of this package.

Examples

ds_query('32e44f16-c76b-4de3-ac0e-1b7d2ad2f15d','select * from table limit 10')

domoinc/rdomo documentation built on Nov. 8, 2024, 12:48 a.m.