get_matching_files: Do corpus search

get_matching_filesR Documentation

Do corpus search

Description

This function gets either text or lemma data based on ids

Usage

get_matching_files(
  fileids_w_meta,
  outputfile = "file2.txt",
  source = "sections",
  extracttype = "text"
)

Arguments

fileids_w_meta

the table to use for fileids.Must have zippath_sections, zippath_pages, keyid, year, month.

outputfile

Write the filename to store the results in.

source

Either "sections" or "pages" based on what kind of input is expected.

extracttype

Either "text" or "lemmas" based on what kind of texts you want to extract.

Examples

get_matching_files(fileds_w_meta, "results2.txt","sections","text")


peeter-t2/digar.txts documentation built on April 22, 2022, 3:04 a.m.