EndoscInstrument: Clean instrument column

View source: R/Basic_EndoPathExtractors.R

EndoscInstrumentR Documentation

Clean instrument column

Description

This cleans the Instument column from the report assuming such a column exists (where instrument usually refers to the endoscope number being used.) It gets rid of common entries that are not needed. It should be used after the textPrep function. Note this is possibly going to be deprecated in the next version as the endoscope coding used here is not widely used.

Usage

EndoscInstrument(EndoInstrument)

Arguments

EndoInstrument

column of interest

Value

This returns a character vector

See Also

Other Endoscopy specific cleaning functions: EndoscEndoscopist(), EndoscMeds(), EndoscopyEvent()

Examples

Myendo$Instrument <- EndoscInstrument(Myendo$Instrument)

sebastiz/EndoMineR documentation built on Dec. 4, 2022, 7:04 p.m.