archivist (version 1.2)

shinySearchInLocalRepo: Shiny Based Live Search for an Artifact in a Repository Using Tags

Description

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 fly. Right now two controllers are exposed. A text input field and a slider. Tags that are typed into text field are used for searching in repository. Object that have same tags are then presented on right panel. These object might be also downloaded just by click. To learn more about artifacts visit archivist-package.

Usage

shinySearchInLocalRepo(repoDir, host = "0.0.0.0")

Arguments

repoDir
A character denoting an existing directory in which artifacts will be searched.
host
A host IP adress, see the host argument in shiny::runApp.

Value

  • shinySearchInLocalRepo runs a shiny application.

Details

shinySearchInLocalRepo searches for artifacts in a Repository using their's Tag (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 when artifact is created, tags like phase, project, author etc.

In the search query one can add tags started with sort: or sort:- then miniatures will be sorted accordingly. For exaple sort:class will sort along class tag, while sort:-class backward. sort:createdDate will sort along createdDate and sort:-createdDate backward.

Tags, submitted in the text field, should be given according to the format: "TagType:TagTypeValue" - see examples.

See Also

Other archivist: Repository; Tags; addTagsRepo; archivist-package; cache; copyGithubRepo, copyLocalRepo; createEmptyRepo; deleteRepo; getTagsGithub, getTagsLocal; loadFromGithubRepo, loadFromLocalRepo; md5hash; multiSearchInGithubRepo, multiSearchInLocalRepo, searchInGithubRepo, searchInLocalRepo; rmFromRepo; saveToRepo; showGithubRepo, showLocalRepo; summaryGithubRepo, summaryLocalRepo; zipGithubRepo, zipLocalRepo

Examples

Run this code
# assuming that there is a 'repo' dir with a valid archivist repository
  shinySearchInLocalRepo( dir = 'repo' )

Run the code above in your browser using DataLab