Description Usage Arguments Author(s)
Takes the results from extracting keywords from the text, and writes then into a CSV or XLSX file to be reviewed.
1 2 3 4 5 6 7 8 9 | mkCSV(eco, xlsxFile = character(),
obs = grep(gsub("rds", "", basename(f)), species$PDF, fixed = TRUE),
species = NULL, # the data.frame from Species.csv
spVar = c("Country", "State", "City", "Location", "Region"),
spFixed = c("reference_ID", "PDF"),
jvar = getLocation,
write = TRUE,
jdata = jvar(eco))
|
eco |
a data frame with each row corresponding to a term extracted from the PDF document. |
xlsxFile |
the file name to which the results are written as an XLSX file. |
obs |
The rows in the Species.csv which correspond to the document in |
species |
the |
spVar |
the variables in Species.csv which are of interest in the comparison CSV or XLSX. |
spFixed |
the fixed variables, i.e, the reference variables which identify the rows of Species.csv. |
jvar |
the function to call to extract the items from the ecoextract results |
write |
logical, whether to write the extracted terms to a file |
jdata |
the extracted data items from the ecoextract results |
Duncan Temple Lang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.