Closed rehananis closed 1 year ago
You don't have to use this function, it's a function that I used to treat imports data from the merchandise trade database to produce the files that are provided in the Imports_data folder. If you still want to rerun this function yourself to extract other data, you can copy paste the function and make it run in your Jupyter notebook or Python kernel. You will then have to provide the path to the complete merchandise trade database file.
Thanks
def treatment_import_data(original_file_path): """Function used to treat the merchandise imports trade database file. FIle is way too big to be provided to users through Github, so we treat the data to only keep what is relevant."""