A simple util to get dane codes by department and municipality
Project description
Dane code
import danecode
#you can have typo errors in the arguments
department = "Santnder"
municipality = "Riongro"
municipality_data = danecode.get_data(department, municipality)
#Returns
municipality_data = {
'department': 'Santander',
'department_code': '68',
'municipality': 'Rionegro',
'municipality_code': '68615'
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
danecode-0.0.7.tar.gz
(12.2 kB
view hashes)