Datasets
InsightMaker.datasets(raw=False)
Parameters:
Name
Type
Description
raw
boolean
meDefault False, if true, returns the raw REST JSON response as a python dictionary.
Response:
A list of Dataset objects (includes both data and content indices), methods:
Dataset.id() String, Dataset ID
Dataset.description() String, Dataset description
Dataset.count() Integer, Dataset size
Example:
datasets = im.datasets()
print("Datasets:")
for dataset in datasets:
print("{} : {}".format(dataset.description(), len(dataset)))