View source: R/cto_dataset_list.R
| cto_dataset_list | R Documentation |
Retrieves a list of datasets that the authenticated user has access to. Results can be filtered by team and ordered by specified fields.
cto_dataset_list(
order_by = "createdOn",
sort = c("ASC", "DESC"),
team_id = NULL
)
order_by |
String. The field to sort the results by. Options are:
|
sort |
String. The direction of the sort: |
team_id |
String (Optional). Filter datasets by a specific Team ID.
If provided, only datasets accessible to that team are returned.
Example: |
A data frame containing the metadata of available datasets.
Other Dataset Management Functions:
cto_dataset_create(),
cto_dataset_delete(),
cto_dataset_download(),
cto_dataset_info()
## Not run:
# List all datasets sorted by creation date
ds_list <- cto_dataset_list()
# List datasets for a specific team, ordered by title
team_ds <- cto_dataset_list(team_id = "team-123", order_by = "title")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.