View source: R/gimme_annotations.r
gimme_annotations | R Documentation |
Get annotation for a given job DB
gimme_annotations(db_file = NULL, only_done = FALSE)
db_file |
If NULL (default) looks whether an an annotation server (see
|
only_done |
If TRUE (default) only retrieve annotations with the "DONE" status. If FALSE, also retrieve annotations with the "IN_PROGRESS" status |
A tibble with annotations. The id column matches with the units (as specified in the id argument in create_units)
## Not run:
# get annotation for most recent server run (or still running) in current session
gimme_annotations()
# from a job database, as returned by create_job_db (or by start_annotator)
job_db <- "path/to/job.db"
gimme_annotations(job_db)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.