carriedaymont / growthcleanr

R package for cleaning anthropometric (height and weight) data from electronic health record systems.
Other
12 stars 7 forks source link

Tweak adult column output #54

Open dchud opened 3 years ago

dchud commented 3 years ago

There are ~30 cases with syngrowth where adult subjects with multiple heights are missing one mean_ht in the adult column file. e.g.:

"line","subjid"
"1","036a341e-4b98-d417-8304-cbd7a1b6a929"
"2","477be252-b26c-cade-d5b3-3a91a7a0a63e"
"3","8180546e-eb8f-cbc9-d167-cf44c12282b9"
"4","b5916d90-ecd3-e443-37a8-865dd7a946bf"
"5","cd3d1d4d-2978-998e-d285-9c401e54eac5"
"6","cf51997f-1cca-a6a5-ba3c-05d13d4a00aa"
"7","d7560934-e450-19d2-4f20-df79721d0733"
"8","dd425d2f-3c9f-b0d4-a2f4-07e5943a8ea0"
"9","f22ea2a0-6dc8-5039-8725-9d0b2852b4a4"
"10","f93b1dc7-4c7b-c89d-28f0-46add4832d56"
"11","fe336272-4608-d97f-c589-f6437931bce8"
"12","18bdc9ed-6dce-766c-5836-8680b07b64da"
"13","31d8c6f5-d420-4a02-ec7e-547823e0ebdf"
"14","38ab2915-ebbb-50d4-6fdc-8e21542f6245"
"15","53470e95-b3c5-2cb5-5e8f-126df88c576c"
"16","55f8e84b-e263-3fc3-db3c-946817a9da04"
"17","63429626-e70b-044d-cf59-3603652a6be5"
"18","78e21ae9-1e20-ed54-2a5a-18bb2bf43dba"
"19","9b25426c-e35e-7c10-0bdc-5cdbcc05c6ec"
"20","bea2d321-63b3-4d60-23a5-55577c00da67"
"21","dcae6532-cac4-0871-2a7a-f6db6c4cca75"
"22","fab04b7c-8f73-0410-8621-e2131c79dfce"
"23","06a23452-2c21-fd33-c58d-d243fefc6ac9"
"24","0f2ee16b-3a93-7d53-53fa-7e92290123eb"
"25","12ba9db5-aa4f-dd15-cfaa-ac2f40497a7d"
"26","43d238f9-ee5e-1430-b93a-88e426cbd785"
"27","4e247209-16bb-3734-ce28-005eb7bbf98d"
"28","6e89c2bd-b92a-1a1f-9f86-e109ed377528"
"29","b80bc059-01dc-d76f-16fc-0c2fe638b59d"
"30","bad16116-daf9-8cce-0243-872d1198fd6f"
"31","c94dfa44-29f5-5887-eced-96c5fa9bd44e"
"32","f60e2483-7e6c-e051-f548-e6f3a86e13fc"

Also, consider removing orig_sde if it's exactly the same as measurement.

dchud commented 3 years ago

Removing from 2.0 - good candidate for a 2.0.x bugfix release.

dchud commented 3 years ago

Note - revisit specific examples/identifiers after merging #50.