Skip to contents

Download the database published in Giangreco et al. 2022. This function will prompt to download the database, so the cache directory will be identified and the database will be downloaded to it only after consent. Warning, the size of the uncompressed 'sqlite' file is close to 0.9GB or 900 MB. Use with caution.

Usage

download_sqlite_db(
  method = "auto",
  quiet = FALSE,
  timeout = 1000,
  force = FALSE
)

Arguments

method

The method to download the sqlite database. See download.file

quiet

Whether to download quietly. See download.file

timeout

Extended download session for downloading this file. Default is 1000 seconds.

force

Whether to force the download of the database. Defaults to FALSE. Needs to be TRUE for database to download. The function will prompt for confirmation.

Value

TRUE, invisibly

Examples

if(FALSE){
download_sqlite_db() #set force=TRUE if desired to download 0.9GB file to machine
}