Preprocess the commercial data
The data (prefectures, designated cities and government office cities) is mixed and in Japanese and has to be preprocessed:
-
Replace - with 0 -
Rename columns (https://git.gfz-potsdam.de/dynamicexposure/globaldynamicexposure/exposure-japan/-/issues/29) (https://git.gfz-potsdam.de/dynamicexposure/globaldynamicexposure/exposure-japan/-/merge_requests/80) -
Translate the column values (https://git.gfz-potsdam.de/dynamicexposure/globaldynamicexposure/exposure-japan/-/issues/29) (https://git.gfz-potsdam.de/dynamicexposure/globaldynamicexposure/exposure-japan/-/merge_requests/80) -
Translate the construction year (https://git.gfz-potsdam.de/dynamicexposure/globaldynamicexposure/exposure-japan/-/issues/29) (https://git.gfz-potsdam.de/dynamicexposure/globaldynamicexposure/exposure-japan/-/merge_requests/80) -
Make the data uniform and readable by pandas.