Learn R Programming

archivist (version 1.5)

asearch: Read Artifacts Given as a List of Tags

Description

asearch searches for artifacts that contain all specified Tags and reads all of them from a Github Repository. It's a wrapper around multiSearchInGithubRepo and loadFromGithubRepo.

Usage

asearch(repo, patterns)

Arguments

repo
A character with GitHub user name and GitHub repository name separated by `/`.
patterns
A character vector of tags. Only artifacts that contain all tags are returned.

Value

  • This function returns list of artifacts (by value).

Details

Function asearch reads all artifacts that contain given list of tags from GitHub Repository. It uses the function loadFromGithubRepo and multiSearchInGithubRepo but has shorter name and different paramter's specification.

See Also

Other archivist: Repository; Tags; %a%; addTagsRepo; ahistory, print.ahistory; archivist-package; aread; cache; copyGithubRepo, copyLocalRepo; createEmptyRepo; deleteRepo; getTagsGithub, getTagsLocal; loadFromGithubRepo, loadFromLocalRepo; md5hash; multiSearchInGithubRepo, multiSearchInLocalRepo, searchInGithubRepo, searchInLocalRepo; rmFromRepo; saveSetToRepo; saveToRepo; setGithubRepo, setLocalRepo; shinySearchInLocalRepo; showGithubRepo, showLocalRepo; summaryGithubRepo, summaryLocalRepo; zipGithubRepo, zipLocalRepo

Examples

Run this code
# read the object
asearch("pbiecek/graphGallery",
           patterns = list("class:lm",
                "varname:Species")))

Run the code above in your browser using DataLab