Datafable / epu-index

EPU index
http://www.applieddatamining.com/cms/?q=content/economic-policy-uncertainty-index
1 stars 0 forks source link

Changes to EPU endpoint #45

Closed peterdesmet closed 9 years ago

peterdesmet commented 9 years ago

Here's how I would change the EPU endpoint to serve for the charts (#2) as well as the downloads (#12):

Options

format=json or format=csv
start_date=yyyy-mm-dd
end_date=yyyy-mm-dd

Changes:

[
    {
        "date": "2002-04-02",
        "epu": 3.141592,
        "number_of_newspapers": 3,
        "number_of_articles": 14
    },
    {
    }
]

Changes:

peterdesmet commented 9 years ago

@bartaelterman can you review and assign to @niconoe when OK.

bartaelterman commented 9 years ago

Agreed.

niconoe commented 9 years ago

Hi guys, that should be it! Please test the new API (at https://epu-index.herokuapp.com/api/epu/) and report any issue or close this ticket.

bartaelterman commented 9 years ago

I tested it. Looks perfect.

@peterdesmet will you give it a final look and close this ticket?

peterdesmet commented 9 years ago

Great, thanks!