| madoc_tasks | R Documentation |
Retrieve tasks from Madoc, namely manifest and canvas tass
madoc_tasks(site, project, id, type = c("manifest", "canvas"))
site |
character string with the site |
project |
character string with the project name of the site |
id |
a vector of manifest or task identifiers |
type |
character string with the type of task, either 'manifest' or 'canvas' |
a data.frame with task information
projects <- madoc_projects("https://www.madoc.ugent.be/s/brugse-vrije")
projects <- subset(projects, slug == "brugse-vrije-gebruikerstest")
manifests <- madoc_collection(site = "https://www.madoc.ugent.be/s/brugse-vrije",
id = projects$collection_id, tidy_metadata = TRUE)
canvasses <- madoc_manifest(site = "https://www.madoc.ugent.be/s/brugse-vrije",
id = manifests$manifest_id)
ids <- manifests$manifest_id
ids <- sample(manifests$manifest_id, size = 5)
x <- madoc_tasks(site = "https://www.madoc.ugent.be/s/brugse-vrije",
project = "brugse-vrije-gebruikerstest",
id = ids, type = "manifest")
ids <- canvasses$canvas_id
ids <- sample(canvasses$canvas_id, size = 5)
x <- madoc_tasks(site = "https://www.madoc.ugent.be/s/brugse-vrije",
project = "brugse-vrije-gebruikerstest",
id = canvasses$canvas_id, type = "canvas")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.