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

Bug - Geography differences #996

Closed Jennit07 closed 1 month ago

Jennit07 commented 2 months ago

In the Q&A section on SLF teams, a LIST analyst highlighted a potential bug in the individual file. This requires more investigation as it might also affect the episode file.

SIMD is showing NA although there is postcode available. Possibly a match somewhere has failed. See teams for the example.

This is something we can investigate and include a fix for the December update

Jennit07 commented 1 month ago

Looks like the analyst resolved this issue on their own. I checked through some examples and could not reproduce the bug. It is possible for SIMD to be ranked NA where we cannot match the postcode onto the postcode lookup due to English or invalid postcodes. However, where the postcode is valid, this will match onto the lookup and populate the SIMD correctly.