selMeaningfulRecs: Select meaningful records

Description Usage Arguments Examples

Description

This clean up will allow PI to run smooth where records that might not meet the criteria below will be removed: The number of words X is less than the minimum number of words required for analysis: 100 AND The input you provided matched X words from our lexicon, we require 70 matching words to calculate characteristics with any confidence AND Too many words .... greater than 10k. These could be run manually in the tool instead of using RCURL as there is a max limitation AND The records need to be in English in order to fully be process through Watson PI. This will produce two new vars, df.sel and df.notsel, where df.sel will be the records that meet the criteria and df.notsel would be the records that did not meet criteria. At this point the user should be able to do a write.table() and export those records and do it manually where applicable. Keep will be the columns that you would like to keep once selection is processed.

Usage

1
selMeaningfulRecs(x, txt, keep)

Arguments

x

would be the field that wanted to be formatted.

Examples

1
selMeaningfulRecs(x, x$txt, keep=c("var1", "var2", "var3"))

blacknred0/rWatsonPI documentation built on May 12, 2019, 9:29 p.m.