Code from finished data analysis projects
chinesedata.py is for scraping chinadataonline.org, has many options for scraping various datasets ches-dataedit.py is for recalculating several household characteristics of the Chinese Household Ethnicity Survey (CHES) cleanheaders.py is for scraping some useless header bits from files associated with allchinadata.org mergecountyfiles.py is for merging chinadataonline.org data with census county data mergepop.py is for merging chinadataonline.org with census pop data
All are (c) 2016 Andrew MacDonald ([email protected]). Files are mostly here for example purposes - if anyone finds them useful they are free to use for non-commercial purposes.