This script searches for p-codes and misformatted p-codes in datasets on HDX. It downloads resources and checks the first 200 rows against a list of authoritative p-codes in that location. If more than 90% of them match then it is marked as p-coded in HDX.