What do the columns even mean what is a P_Tot_Tot???? :(((((
Write a function where, given a code e.g. "G01", a LazyFrame object, and an input to the relevant metadata file(s), change all columns of the LazyFrame...
[x] change column to be in snake_case
[x] change the names with something more descriptive, this should be automated as the unabbreviated names should hopefully be in one of the metadata file
[x] Don't forget the pytest tests
(not relevant to this issue, but to get the code "G52" etc we can use the placeholder function in nhs.utils.string somewhere else, for this function do NOT worry about how we are going to get the code, just focus on the input and output)
What do the columns even mean what is a
P_Tot_Tot
???? :(((((Write a function where, given a code e.g.
"G01"
, aLazyFrame
object, and an input to the relevant metadata file(s), change all columns of theLazyFrame
...pytest
tests(not relevant to this issue, but to get the code
"G52"
etc we can use the placeholder function innhs.utils.string
somewhere else, for this function do NOT worry about how we are going to get the code, just focus on the input and output)