powered by
Downloads the ted.db SQLite database from the latest (or specified) release on SLesche/truth-effect-database to a given directory.
ted.db
SLesche/truth-effect-database
download_ted(dest_dir, tag = NULL, token = Sys.getenv("GITHUB_PAT"))
Invisibly returns the full path to the downloaded file.
Directory where the database should be saved.
Optional release tag. If NULL, uses latest release.
Optional GitHub token. Defaults to Sys.getenv("GITHUB_PAT").
Sys.getenv("GITHUB_PAT")
if (FALSE) { download_ted(tempdir()) }
Run the code above in your browser using DataLab