Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

brainprep.datasets.git_download

brainprep.datasets.git_download(url, destination)[source]

Download data from GitHub URL and saves it locally.

Parameters:
url: str

Direct URL to the raw data file on GitHub.

destination: Path

Path to the saved data file.

Raises:
ValueError

If the URL does not point to ‘raw.githubusercontent.com’.

Examples using brainprep.datasets.git_download

HTML reporting

HTML reporting