AvonCap data has lots of columns which are named in a difficult to remember fashion, composed of data items that have enumerated values with no semantics. This makes displaying them difficult and any filtering done on the raw data inscrutable. Depending on the source of the data some different columns may be present due to differences in the NHS and UoB data sets. The redcap database has some options that may be checklists and some that are radio buttons, both of these end up with mysterious names in the data.
Arguments
- rawData
the raw data from
load_data()
- instrument
the numeric instrument number if applicable
- ...
Named arguments passed on to
normalise_genericremove_mappedgets rid of original columns for which we have a mapping (leaving the new versions)
remove_unmappedgets rid of columns for which we do not have a mapping
mappingsa set of mappings (see
zzz-avoncap-mappings.R)messagesa set of
dtrackrglue specs that populate the first box fo the flow chart. (can use{files},{reproduce_at},{date},{.total})data_source_infoif not null a filename, and the function will write out a file with the details of the input files used.
...passed onto
.cached(...). e.g.nocache = TRUEcan be used to defeat caching.