| update_ted | R Documentation |
Checks whether the local TED SQLite database (ted.db) is up to date
with the release on SLesche/truth-effect-database and optionally downloads
the latest version.
update_ted(
local_sqlite_path,
tag = NULL,
update = FALSE,
token = Sys.getenv("GITHUB_PAT"),
algo = "sha256"
)
local_sqlite_path |
Path to the local |
tag |
Optional release tag. If NULL, uses latest release. |
update |
Logical; if TRUE, will download the latest database when the local copy is outdated (default: FALSE). |
token |
Optional GitHub token. Defaults to |
algo |
Hash algorithm (default: |
Invisibly returns TRUE if up to date, FALSE if outdated.
## Not run:
update_ted("ted.db")
update_ted("ted.db", update = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.