R - DomoR::list_ds() - Not returning all Dataset
I have noticed that the DomoR::list_ds() command does not return all datasets. I was wondeting why this is happening is there something that needs to be done get all the datasets to return ? I have also tried different access level including Admin, and same results. While the datasets that are not listed can be retrieved via DomoR::Fetch(guid).
Please let me know how I can resolved this, or if I should modify something in the DomoR library .
PS: https://github.com/vbs1/readr allows to use DomoR without having to downgrade Httr, I corrected the problem that was causing it, and submitted a pull request to the main Readr github.
Best Answer
-
Try adding the keyword argument limit=0
so like:
list_ds(limit=0)
When the limit kwarg is less than 1 it returns all datasets per the function help data1
Answers
-
guess this is why
list_ds has a max limit of 50. I guess by filtering using owner_id, or data_provider I may be able to automate the extraction.
Why the max limit? Could the default be 50, but not impose the limit. I want 500 rows I should be able to get that. Or does it cause some kind of issue for the Domo servers?
Vince
0 -
Try adding the keyword argument limit=0
so like:
list_ds(limit=0)
When the limit kwarg is less than 1 it returns all datasets per the function help data1 -
I tried to pull up the help from R but nothing. I should have thought of the common 0 gets everything. Thank you ?
Vince
1
Categories
- 10.6K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 474 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 478 Datasets
- 214 Visualize
- 259 Beast Mode
- 2.1K Charting
- 12 Variables
- 19 Automate
- 356 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 249 Distribute
- 65 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 189 Product Ideas
- 1.2K Ideas Exchange
- 11 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive