Find Jobs
Hire Freelancers

Simple MapReduce

$30-250 USD

Closed
Posted over 12 years ago

$30-250 USD

Paid on delivery
I have a simple database structure for tracking a users time on a website. The session_time entry is accumulative. i.e The first session_time entry when you search by session_id with always be 0 last entry will always be the total session time I require a MongoDB mapreduce function/query that can collect the total, hourly, daily, monthly etc session time for a user_id within a date range using created_at. The structure of the data is like: { _id "4f2d1122ae06ff0003000002" user_id "d77c8001-adc4-49c6-9e83-d58208e78ebd" session_id "1e49ab89c2f634b4" session_time 0 created_at 2012-02-04 11:06:10 UTC updated_at 2012-02-04 11:06:10 UTC }, { _id "4f2d1141ae06ff0003000004" user_id "d77c8001-adc4-49c6-9e83-d58208e78ebd" session_id "1e49ab89c2f634b4" session_time 31 created_at 2012-02-04 11:06:41 UTC updated_at 2012-02-04 11:06:41 UTC }, { _id "4f2d1163ae06ff0003000006" user_id "d77c8001-adc4-49c6-9e83-d58208e78ebd" session_id "1e49ab89c2f634b4" session_time 61 created_at 2012-02-04 11:07:15 UTC updated_at 2012-02-04 11:07:15 UTC }
Project ID: 1438511

About the project

2 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of SOUTH AFRICA
Port Elizabeth, South Africa
0.0
0
Payment method verified
Member since Sep 25, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.