Plexora

dataset

Get one dataset, by name or by id.

Generated from Plexora 0.0.55View source
from plexora import dataset
dataset(name_or_id) -> Dataset

Parameters

name_or_idstrrequired

The dataset's name, or its id.

Returns

Dataset

The matching dataset.

Raises

KeyError

If no dataset matches, naming what does exist.

Examples

import plexora

cohort = plexora.dataset("Melanoma Cohort")

How is this different?

dataset or Dataset?

plexora.dataset(name) is the function that looks a dataset up. plexora.Dataset is the class of what it returns. You rarely construct a Dataset yourself.

On this page