DocSet {ssrch} | R Documentation |
constructor for DocSet
DocSet(kw2docs = new.env(hash = TRUE), docs2recs = new.env(hash = TRUE), docs2kw = new.env(hash = TRUE), titles = character(), urls = character(), doc_retriever = function(...) NULL)
kw2docs |
an environment mapping keywords to documents |
docs2recs |
an environment mapping document identifiers to records |
docs2kw |
an environment mapping documents to keywords |
titles |
a named character vector with titles; names are document identifiers |
urls |
a named character vector with document-associated URLs; names are document identifiers |
doc_retriever |
a function that, given a document identifier, will produce the document |
instance of DocSet
Titles must be bound in post-hoc. parseDoc produces data including parsed titles but does not bind the title into the resulting object.
getClass("DocSet")