read_keds(d, keep.quote = FALSE, keep.label = TRUE, one.a.day = TRUE, scrub.keds = TRUE, date.format = "%y%m%d")
scrub_keds
cleaning function and the
one_a_day
duplicate removal filter. This
function is thin wrapper around read.csv
. This function assumes that d
are a vector of
KEDS/TABARI output files. These are assumed to be tab
separated text files wherein the first field is a date in
yymmdd
format or as specified by
date.format
, the second and third fields are actor
codes, the fourth field is an event code, and the fifth
field is a text label for the event type, and the sixth
field is a quote - some kind of text from which the event
code was inferred. Label and quote are optional and can
be discarded when reading in.