Skip to contents

Since processed spatial data files are generally too large to upload to Github or attach to the fusionData package, they are stored on Google Drive. This function downloads requested processed geographic data and places it in the appropriate local sub-directory of /fusionData/geo_processed. The full file path (e.g. intermediate directories) are created, if necessary, but no existing data on disk is altered or deleted.

Usage

getGeoProcessed(dataset = "essential")

Arguments

dataset

Character. Indicate which spatial dataset(s) to download. If dataset = "essential", only files necessary to call prepare and assemble are downloaded. If dataset = "all", all processed spatial data files are downloaded. Otherwise, a single spatial dataset identifier (e.g. "EPA-SLD") to download all associated "*_processed.rds" files.

Value

drive_download prints messages to console indicating which files were downloaded.

Details

Files are automatically placed in appropriate sub-directory of fusionData/geo_processed. When dataset = "essential", the downloaded files are: "geo_predictors.fst" and "concordance/geo_concordance.fst".

Examples

getGeoProcessed(dataset = "essential")