rbind_rakelist {slowraker} | R Documentation |
rbind a rakelist
Description
rbind a rakelist
Usage
rbind_rakelist(rakelist, doc_id = NULL)
Arguments
rakelist |
An object of class |
doc_id |
An optional vector of document IDs, which should be the same
length as |
Value
A single data frame which contains all documents' keywords. The
doc_id
column tells you which document a keyword was found in.
Examples
rakelist <- slowrake(txt = dog_pubs$abstract[1:2])
# Without specifying doc_id:
head(rbind_rakelist(rakelist = rakelist))
# With specifying doc_id:
head(rbind_rakelist(rakelist = rakelist, doc_id = dog_pubs$doi[1:2]))
[Package slowraker version 0.1.1 Index]