Skip to contents

This method can be configured to point to the data file through environment variables. It will work with defaults unless the location of the data file changes.

Usage

googledrive_download_data(raw_dir, project_dir)

Arguments

ckan_url

The data catalogue URL, default: Sys.getenv("CKAN_URL") or the current DBCA CKAN server.

data_rid

The resource ID of the data file, default: Sys.getenv("MPAVIEWER_RID") or the current resource ID.

data_dir

A local directory to download files to, default: here::here("inst/data").

Value

None.