<jupyter_start><jupyter_text>Create a list of url to get SINAN dataset  addRow("ANIMAC07.dbc","ANIMAC07.dbc",0,22196,"21.7 kB",1557504060,"5/10/19, 1:01:00 PM");<jupyter_code>data = pd.read_csv('key_url_download_data.csv')
data.head()<jupyter_output><empty_output><jupyter_text>Download data of Leprosy<jupyter_code>data.subset.unique()
leprosy = data[data.subset == 'hanseniase']
leprosy.head()
leprosy.year.unique()
leprosy.dataset_name.unique()
leprosy.url[3411] + leprosy.file_name[3411]
import urllib.request

print('Beginning file download with urllib2...')

for (file, link) in zip(leprosy.file_name,leprosy.url):
    url = link + file
    urllib.request.urlretrieve(url, '/media/juliane_oliveira/My Passport/Datasus/Data_lake/Raw/Bancos_SINAN/HANSENIASE/' + file)<jupyter_output>Beginning file download with urllib2...
{'fraction_non_alphanumeric': 0.14527845036319612, 'fraction_numerical': 0.05205811138014528, 'mean_word_length': 6.876190476190477, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '533180', 'license': 'MIT', 'n_tokens_mistral': 362, 'n_tokens_neox': 337, 'n_words': 49, 'path': 'Stcripts/Datasus/cod_for_download_data.ipynb', 'repo_name': 'Julian-sun/Data-collection', 'size': '826'}