Datafable / epu-index

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

Add endpoint to update an Article #19

Closed bartaelterman closed 9 years ago

bartaelterman commented 9 years ago

The user needs to be able to update Articles in the webapp database. After running a classification in Matlab, the resulting epu_score for each Article should be written to the webapp. I think it's best to use the REST interface for this. However, this endpoint should only be accessible after authentication. Preferably, a user can update Articles in batch.

Something like this:

{
    "articles":
        [
            {"23": {"epu_score": 0.342}},
            {"41": {"epu_score": 0.2148}},
            {"55": {"epu_score": 0.832}}
        ]
}