Rf_
prefix in the c++ code.emr_track.mv
did not move track attributes.emr_extract
when tidy=TRUE
.emr_time2posix
, emr_posix2time
, emr_time2char
and emr_char2time
functions.emr_track.var.set
on the same track.emr_filters.info
that returns filters information given a filter expression (e.g. f1 | f2
).emr_track.info
.emr_vtrack.create
with func="exists"
returned NA instead of 0 when the track didn't have any value at the iterator interval.emr_vtrack.name
and emr_vtrack.create_from_name
.emr_vtrack.name
and emr_vtrack.create_from_name
allow creating virtual tracks
with standard names.emr_track.create
with expr=''
naryn
database. See emr_entries.ls
, emr_entries.get
, emr_entries.set
, emr_entries.rm
and emr_entries.reload
.string_to_var
and var_to_string
functions to generate valid variable names from strings.emr_track.rm
can now accept multiple tracks as input.patients.dob
.emr_track.rm
returned an error when given character(0)
.rchk
warnings.stime
and etime
.emr_traceback
function.naryn
. You can access them using .naryn::EMR_ROOTS
etc.emr_track.exists
function.emr_track.attr.set
in batch mode.emr_track.attr.set
and emr_track.attr.rm
.include_missing
parameter emr_track.attr.export
allowing missing tracks and attributes.emr_filter.create
emr_time
functions failed when there was an NA
in an integer vector.emr_track.attr.get
returned attribute name instead of value.emr_track.var.get
now returns NULL
when variable doesn't exist.db_id
parameter to emr_track.ls
emr_filter.name
and emr_filter.create_from_name
allow creating filters
with standard names.emr_track.logical.create
when values are a list of length 1.emr_filter.create
and emr_vtrack.create
now return silently the name of the filter/vtrack.emr_track.addto
.emr_dist
and emr_cor
now have a dataframe
parameter that returns the results in a tidy format.emr_dist
when right=FALSE
and values were a fraction.emr_monthly_iterator
, emr_yearly_iterator
devtools
ecosystem: roxygen
documentation and testthat
for tests.NEWS.md
file to track changes to the package.New iterator type: beat iterator aligned to the time that appears in a data frame or a track (aka birthday). Syntax:
iterator=list(period, data.frame(id=..., time=...))
iterator=list(period, trackname)
Note: each id must appear only once in the data frame / track.