<jupyter_start><jupyter_text>Note: Papermill requires IPython 7.0.0 or higher  Erase a dataset<jupyter_code>pm.execute_notebook(
   'DataLoader.ipynb',
   'erase_FSI.ipynb',
   parameters=dict(datamart_api_url='http://localhost:12543', 
                   dataset_id_to_erase='FSI')
);<jupyter_output><empty_output><jupyter_text>Upload datasets  FSI dataset<jupyter_code>pm.execute_notebook(
   'DataLoader.ipynb',
   'FSI_comb.ipynb',
   parameters=dict(datamart_api_url='http://localhost:12543', 
                   template_path='templates/FSI.tsv',
                   dataset_path='FSI/',
                   flag_combine_files=True, DEBUG=True)
);
pm.execute_notebook(
   'DataLoader.ipynb',
   'FSI_seq.ipynb',
   parameters=dict(datamart_api_url='http://localhost:12543', 
                   template_path='templates/FSI.tsv',
                   dataset_path='FSI/', dataset_id_to_erase='FSI',
                   flag_combine_files=False, DEBUG=True)
);<jupyter_output><empty_output><jupyter_text>WFD dataset<jupyter_code>pm.execute_notebook(
   'DataLoader.ipynb',
   'WFP.ipynb',
   parameters=dict(datamart_api_url='http://localhost:12543',
                   template_path='templates/WFP.tsv',
                   dataset_path='WFP/', 
                   flag_combine_files=False, DEBUG=True)
);<jupyter_output><empty_output><jupyter_text>FAOSTAT dataset<jupyter_code>pm.execute_notebook(
   'DataLoader.ipynb',
   'FAOSTAT.ipynb',
   parameters=dict(datamart_api_url='http://localhost:12543',
                   template_path='templates/FAOSTAT.tsv',
                   dataset_path='FAOSTAT/', 
                   flag_combine_files=False, DEBUG=True)
);<jupyter_output><empty_output><jupyter_text>Save Templates<jupyter_code>pm.execute_notebook(
    'DataLoader.ipynb',
    'WFP_template.ipynb',
    parameters=dict(datamart_api_url='http://localhost:12543',
                    template_path='templates/WFP.tsv',
                    save_template_path='templates/WFP_saved.tsv')
);<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12697628458498023, 'fraction_numerical': 0.016304347826086956, 'mean_word_length': 3.402173913043478, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '147329', 'license': 'MIT', 'n_tokens_mistral': 744, 'n_tokens_neox': 706, 'n_words': 60, 'path': 'data-refresh/Data Refresher Demo.ipynb', 'repo_name': 'usc-isi-i2/datamart-api', 'size': '2024'}