This function performs the cross-walk between human reading databases and topic model databases using document titles

get_titleInd(
  titleInd_file = system.file("extdata", "titleInd.Rds", package = "wateReview"),
  humanReadingDatabase = NULL,
  topicModelTitles = NULL
)

Arguments

titleInd_file

a filename, if it exists, file content is read, if it does not exist the formatting and regexpr matching is performed

humanReadingDatabase

human reading database with column "title", default to NULL

topicModelTitles

titles of the topic model files, default to NULL

Value

matching indices between the two databases