| check_ted | R Documentation |
Compares the SHA256 hash of a local TED SQLite database (ted.db)
with the hash stored in the latest (or specified) release on
SLesche/truth-effect-database.
check_ted(
local_sqlite_path,
tag = NULL,
token = Sys.getenv("GITHUB_PAT"),
algo = "sha256"
)
local_sqlite_path |
Path to the local |
tag |
Optional release tag. If NULL, uses latest release. |
token |
Optional GitHub token. Defaults to |
algo |
Hash algorithm used for comparison (default: |
Returns TRUE if the local database is up to date, FALSE if it is outdated.
## Not run:
check_ted("ted.db")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.