Metadata-Version: 1.1
Name: kolada_scraper
Version: 0.0.2
Summary: A scraper of statistical data from api.kolada.se/v2 built on top of Statscraper.
Home-page: https://github.com/horriblesmell/kolada-scraper
Author: Sascha Granberg
Author-email: saschagranberg.jobb@gmail.com
License: MIT
Download-URL: https://github.com/horriblesmell/kolada-scraper/archive/0.0.2.tar.gz
Description-Content-Type: UNKNOWN
Description: This is a scraper for statistical data from http://api.kolada.se/v2/ built on top of the `Statscraper package <https://github.com/jplusplus/statscraper>`.
        
        Install
        -------
        
          pip install -r requirements.txt
        
        Example usage
        -------------
        
        .. code:: python
        
          from kolada import KoladaScraper
        
          scraper = KoladaScraper()
        
          dataset = scraper.items["N00002"] # pass a KPI id
        
          towns = [x.value for x in dataset.dimensions['municipality'].allowed_values]
        
          data = dataset.fetch({
            'municipality': towns,
            'period': [2016, 2015]
          })
        
          print(data.pandas)
        
        TODO
        ----
        
        - Add more allowed values
        - Implement errors when unallowed values are passed
        - Implement regions
        - Update `chunkify()` function, to make url building better
        
Platform: UNKNOWN
