Replication files for "Who counts? Information capacity and the origins of education inequality in Morocco." IPUMS international terms of use do not permit the redistribution of microdata. The .do file below takes a .dat file from the IPUMS international website (international.ipums.org) for the 1994 Moroccan population census, and creates the standardized variables and subsets of the data necessary to reproduce all of the figures and tables used in the paper and appendix. Please note that without this .dat file and the appropriate variables NONE of the code below will run. To facilitate replication, the data folder includes a screenshot of the variables that need to be downloaded as a .dat file. If any aspect of this code or process is unclear please contact me via email.