dreambank.fetch#

dreambank.fetch(fname)#

Fetch a single dreambank file and return the filepath.

The main use case of this would be if a user wants to read the file with custom code.

Parameters#

fnamestr

Dataset ID and extension (e.g., 'alta.tsv', 'alta.json').

Returns#

fpstr

Full filepath of local file.

Examples#

>>> import dreambank
>>> import pandas as pd
>>>
>>> fp = dreambank.fetch("bosnak.tsv")
>>> bosnak = pd.read_table(fp, index_col="n")