Skip to contents

If you want to download datasets from Sfaira, you need to specify a directory where the datasets are saved into. Additionally, when this function is called for the first time, a conda environment will be established and sfaira along all of its dependencies are installed. This can take some time but will be only performed one single time, as the environment can be re-used.

Usage

setup_sfaira(basedir)

Arguments

basedir

name of the directory, where the raw files will be downloaded into

Value

list with sfaira file directories; must be used as input for other sfaira based functions

Examples

setup_list <- setup_sfaira(basedir = tempdir())
#> AttributeError: module 'pandas.arrays' has no attribute 'ArrowStringArray'