Open cynthiahqy opened 1 year ago
For a single country, the INDSTAT conversion I did to extend TPP data involved:
isiccomb
isic3
equal_shares
total_diff_3_less_4 = 3dig - sum(4dig)
censored_diff
3dig
4dig
censored_diff + isic3_4dig
isic3_4dig
isic2_4dig
mixed_weights
isic2_3dig
This is not a good example since the data are not open license
Comparison: https://cynthiahqy.github.io/indstat-TPP/001-clean_INDSTAT.html
For a single country, the INDSTAT conversion I did to extend TPP data involved:
isiccomb
values toisic3
byequal_shares
total_diff_3_less_4 = 3dig - sum(4dig)
column with difference of 3-digit reported total over the 4-digit calculated totals.censored_diff
column, which is 0 if 4-digit total was larger, and >0 if 3-digit total was larger.censored_diff
values from3dig
to4dig
byequal_shares
censored_diff + isic3_4dig
into adjustedisic3_4dig
values.isic3_4dig
values toisic2_4dig
bymixed_weights
, wheremixed_weights
included equal shares for 1-to-many links.isic2_4dig
values toisic2_3dig
for analysis