shinySearchInLocalRepo searches for an artifact in a Repository using Tags.
To create an application one needs to point the name of artifacts' repository.
The application is generated on the run. As for now there are two controllers exposed.
A text input field and a slider. Tags that are typed into text field are used for searching in repository.
Objects that have the same Tags are presented on the right panel.
These object might be also downloaded just by click.
To learn more about artifacts visit archivist-package.
shinySearchInLocalRepo(repoDir = NULL, host = "0.0.0.0")NULL (by default), uses the repoDir specified in setLocalRepo.host argument in shiny::runApp.shinySearchInLocalRepo runs a shiny application.
shinySearchInLocalRepo searches for artifacts in a Repository using their Tags
(e.g., name, class or archiving date). Tags are submitted in a
text input in a shiny application. Many Tags may be specified, they should be comma separated.
User can specify more Tags like phase, project, author etc. when artifact is created.In the search query one can add Tags starting with sort: or sort:-.
As a result, miniatures will be sorted appropriately.
For example sort:class will sort class Tags, while sort:-class will
sort class tags backwards. sort:createdDate will sort createdDate Tag and
sort:-createdDate will sort createdDate Tag backwards.
Tags, submitted in the text field, should be given according to the
format: "TagKey:TagValue" - see examples.
Repository,
Tags, %a%,
addHooksToPrint, addTagsRepo,
aformat, ahistory,
alink, aoptions,
archivist-package, aread,
asearch, asession,
atrace, cache,
copyLocalRepo,
createLocalRepo,
createMDGallery,
deleteLocalRepo,
getRemoteHook, getTagsLocal,
loadFromLocalRepo, md5hash,
restoreLibs, rmFromLocalRepo,
saveToLocalRepo,
searchInLocalRepo,
setLocalRepo, showLocalRepo,
splitTagsLocal,
summaryLocalRepo,
zipLocalRepo
## Not run:
# # assuming that there is a 'repo' dir with a valid archivist repository
# shinySearchInLocalRepo( repoDir = 'repo' )
# ## End(Not run)
Run the code above in your browser using DataLab