chrisyeh96 / africa_poverty_clean

20 stars 10 forks source link

How to make 'lx_median_{year_range}_{country}_dhslocs_ee_export.tfrecord.gz'? #4

Open agupt209 opened 1 year ago

agupt209 commented 1 year ago

Hi

I am trying to replicate the paper. I export {country}_{year}_00.tfrecord.gz files using 0_export_tfrecords.ipynb. However, in process_tfrecords_dhs.ipynb, 'lxmedian{yearrange}{country}_dhslocs_eeexport.tfrecord.gz' files are used. Is there a code to create these files? When I use the '{country}{year}_00.tfrecord.gz' file instead, it misses the 'cluster_index' required key and many optional keys.

Best, Ankur

chrisyeh96 commented 1 year ago

Hi Ankur, I'm not sure where you're seeing process_tfrecords_dhs.ipynb. I don't believe that's a file in this repo.