Skip to main content

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


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.2.11.tar.gz (94.0 kB view hashes)

Uploaded Source

Built Distribution

danecode-0.2.11-py3-none-any.whl (107.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page