All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login

All New Register Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated

avila / extract_cnes.py

0 likes
0 forks
1 files
Last active 1 hour ago
1 #!/usr/bin/env python3
2 """Extract CNES hospital table from DATASUS."""
3
4 import csv
5 import sys
6 import requests
7 from bs4 import BeautifulSoup
8
9 URL = "https://cnes2.datasus.gov.br/Mod_Ind_Unidade_Listar.asp?VTipo=05&VListar=1&VEstado=31&VMun=&VSubUni=&VComp=201412"
10 OUTPUT = "cnes_hospitais.csv"
Newer Older

Powered by Opengist ⋅ Load: 48ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文