Giter Site home page Giter Site logo

user-charts's People

Contributors

epogrebnyak avatar hoogleraar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

user-charts's Issues

put code access sample

import pandas as pd

URL = {'a': 'http://mini-kep.herokuapp.com/annual',
    'q': 'http://mini-kep.herokuapp.com/quarterly',
    'm': 'http://mini-kep.herokuapp.com/monthly'}

def read_csv(source):
    return pd.read_csv(source, converters={0: pd.to_datetime}, index_col=0)

dfa, dfq, dfm = (read_csv(URL[freq]) for freq in 'aqm')

todo: seasonality procedure

As a simple approximation of the task - in a dataset I have some highly seasonal time sereis like these ones:

Can look up these in macrodash

As well as some time series where the seasonlaity is not apparent, but you also want to have it removed, as in GDP

Basically, I would like to store one or several seasonally adjusted versions for the indicator
and deliver it in API with sa parameter

http://minikep-db.herokuapp.com/all/series/TRANSPORT_FREIGHT_bln_tkm/m/sa (example, not working)

also sa can contain a verson like sa:x13, sa:something

a problem for me is that my code is python and most seasonal adjustment is in R
my own little snippet of R code

plot retail sales data

@alexeyzakharenkov made an attempt to chart CPI retail sales from FRED for US and mini-kep fro Russian, here are two notebooks: https://github.com/alexeyzakharenkov/mini-kep-chart

It is good for the start, but I think several things can be done:

  • reduce boilerplate/unnecessary code
  • make titles in English
  • refine the thesis - what exactly we want to illustrate and why this might be interesting
  • notebooks put in a seperate folder, not repo root
  • think of common naming for notebooks, eg like here

@ravshansk - maybe you can look at this?

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.