rbind_rakelist {slowraker} | R Documentation |
rbind a rakelist
rbind_rakelist(rakelist, doc_id = NULL)
rakelist |
An object of class |
doc_id |
An optional vector of document IDs, which should be the same
length as |
A single data frame which contains all documents' keywords. The
doc_id
column tells you which document a keyword was found in.
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]))