Open APIs

 View Only
  • 1.  How to do statistics with mongoose in node

    Posted Jun 08, 2018 05:39
    What is the best way to get statistics from documents in a mongodb: Questions like: How many posts (documents in mongo) did a user create by month/quarter? Or in which categories did this user post? And if one post had more than one category in an array how would you count those elegantly? Are there shortcut functions to sums/mean/sd? What is the best way to Datasience  handle this kind of data and is there some kind of datascience package like pandas in python oder R like dataframes in node?

    ------------------------------
    Soujanya Naganuri
    UNSPECIFIED
    ------------------------------


  • 2.  RE: How to do statistics with mongoose in node

    TM Forum Member
    Posted Jun 11, 2018 03:21
    ​Hi Soujanya
    The Open API project is all about API design and definition, less (at least currently) about implementation. I would advise you to post your question also in other places, to increase your chances of getting an answer. Try the MongoDB official site https://www.mongodb.com/community, and probably there are other forums where you can find specialized advice on monitoring metrics from MongoDB.

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    ------------------------------



  • 3.  RE: How to do statistics with mongoose in node

    Posted Jun 11, 2018 18:14
    Hi Soujanya
    Currently, MondoDB, has integrated a database admiration tool called "Compass" in it you can do everything you need under the framework of Datasience, but as administrator of the database.
    But if what you need is to visualize this data in a web application with a dashboard, you will have to form a universe of different programming languages, framework and libraries to be able to carry out your need and the heart of the application will have to be done under the structure of a REST API


    ------------------------------
    Ricardo Acosta G
    TO BE VERIFIED
    ------------------------------