GithubHelp home page GithubHelp logo

albionx / argentina-congress-data-downloader Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 42 KB

Script that downloads a few datasets from the Camara de Diputados de la Nacion Argentina

License: Apache License 2.0

Python 100.00%

argentina-congress-data-downloader's Introduction

Argentina Congress Data Downloader

This script automatically retrieves the following datasets from the House of Representatives in Argentina:

  1. COVID19 Subsidies
  2. Laws
  3. House of Representatives Sessions (Diputados)
  4. List of Representatives (Diputados)

Features

  • The script automatically creates a SQLite database and allows for downloading any of the above datasets
  • Support for API pagination
  • Data schema detection. Tables are created dynamically following the specifications in the JSON API.

Known limitations

  • The script will not work if the resource handlers in the Open Data government website change. Updating them on the script is trivial.

argentina-congress-data-downloader's People

Contributors

albionx avatar dsolmirano avatar

Stargazers

Gabriel avatar Juan Manuel Zolezzi Volpi avatar

Watchers

 avatar Roberto Perez avatar  avatar

argentina-congress-data-downloader's Issues

Code improvements

  • Cleanup the URL resources I used either with .close() or using a WITH statement
  • Change the While True loop to use a semantically useful sentinel variable instead, for clarity
  • Avoid the collapsing of the namespace with the resourcePathCursor variable by using another local variable instead
  • Keyword parameters in the .format function instead of relying on the order of arguments

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.