Public-Health-Scotland / source-linkage-files

This repo is for the syntax used for the PHS Source Linkage File project
https://public-health-scotland.github.io/source-linkage-files/
Other
4 stars 2 forks source link

Investigate homelessness tests #929

Open Jennit07 opened 5 months ago

Jennit07 commented 5 months ago

Not sure this is capturing what we want to test for. e.g n_distinct applications. This is just doing counts on applications but a person could have multiple applications

Jennit07 commented 5 months ago

Episode file tests are not matching extract tests. I think the ep file tests for HL1 are wrong. For example Ab city have no HL1 data for 2021, however in the ep file tests it shows 53. I did a check on the 2021 episode file but there is no HL1 data for Ab city.

Jennit07 commented 5 months ago

episode file tests are capturning hbtreatcode and hscp2018 but the extract tests are capturing hl1_sending_lca and this is why we have differences