| shinySearchInLocalRepo | R Documentation |
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 archivistPackage.
shinySearchInLocalRepo(repoDir = NULL, host = "0.0.0.0")
repoDir |
A character denoting an existing directory in which artifacts will be searched.
If set to |
host |
A host IP adress, see the |
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.
shinySearchInLocalRepo runs a shiny application.
Bug reports and feature requests can be sent to https://github.com/pbiecek/archivist/issues
This function use tools from the fantastic shiny package, so you'll need to make sure to have it installed.
Przemyslaw Biecek, przemyslaw.biecek@gmail.com
Biecek P and Kosinski M (2017). "archivist: An R Package for Managing, Recording and Restoring Data Analysis Results." _Journal of Statistical Software_, *82*(11), pp. 1-28. doi: 10.18637/jss.v082.i11 (URL: http://doi.org/10.18637/jss.v082.i11). URL https://github.com/pbiecek/archivist
Other archivist:
Repository,
Tags,
%a%(),
addHooksToPrint(),
addTagsRepo(),
aformat(),
ahistory(),
alink(),
aoptions(),
archivistPackage,
aread(),
areadLocal(),
asearch(),
asearchLocal(),
asession(),
atrace(),
cache(),
copyLocalRepo(),
createLocalRepo(),
createMDGallery(),
deleteLocalRepo(),
getRemoteHook(),
getTagsLocal(),
loadFromLocalRepo(),
md5hash,
removeTagsRepo(),
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.