NHSDigital / ndr_support

National Disease Registers support gem
MIT License
4 stars 6 forks source link

Adds a log10 cleaning method (Resolves #NDRS2-711) #48

Closed drewthorp closed 8 months ago

drewthorp commented 8 months ago

Adds a new cleaning method that performs a log10 operation on the float value in the string. Currently the NIPT import does this at the EBR value, but it is no long applicable to all NIPT data sources and this change allows the functionality to be moved to the mapping for specific labs.

Also cleaned up the clean method; Moved to a separate concern and split it into separate methods.