This project is for the analysis of data through the Aggregation Techniques available in MongoDB and API is made in Python
View the Project on GitHub HrithikMittal/Data-Analytics-The-Aggregation-Framework
For insall jupyter notebook
pip install jupyter notebook
To run type in your terminal
jupyter notebook
CRUD Analytics
CREATE ---------> Database ---------> Group
READ ---------> (MongoDB) ---------> COUNT
UPDATE ---------> ---------> DERIVE VALUES
DELETE ---------> ---------> FILTER, AVERAGE, SORT
ls -1 ---------> Pipe ---------> wc -l ---------> Terminal
stdout stdin stdout
Ex : ps -ef | grep mongod |
aggreate() method
>db.COLLECTION_NAME.aggregate(AGGREGATE_OPERATION)
>db.foo.aggregate([{ stage1 },{ stage2 },{ stage3 }, .... ])
$match ---> Filter documents
$project ---> Reshape documents
$group ---> Summarize documents
$unwind ---> Expand arrays in documents
$sort ---> Order documents
$limit/$skip ---> Paginate documents
$redact ---> Restrict documents
$geoNear ---> Proximity sort documents
$let ---> Define variables
$map ---> Define variables