Big Data Project

Play Mongo with Twitter?

In this assignment you will be using MongoDb to interact with a database. For this assignment you

have to install and work with MongoDb.

The data you will be testing during this assignment is a twitter posts about one the FIFA World Cup,

either in reality or virtually using one of the gaming equipments; we do not really care about the


Use the [url removed, login to view] file that . Also you will find the data along with the material provided for this

assignment. The [url removed, login to view] is the file we used in the lecture to lay the ground for using and playing with

MongoDb. It has the needed commands to download, install, and load the database with the required

data for this assignment.

After loading the data into the database, you should be able to perform some checks.

Part 1: Only simple stuff: (on the users collection)

1- Write a query to count how many documents the collection has.

2- Write a query to show the first 5 documents nicely formatted.

3- Write a query to find the unique values for user_name field.

4- Write a query to find the number of unique values for user_name field.

5- Write a query to find the tweet text for the user james_the_cat1. Do not show the id field.

6- Write a query to find the count of documents where Followers Count is greater that the Friends


7- Write a query to find the count of documents without location information

8- Write a query to find the username of the user with the most followers.

9- Write a query to find the username of the user with the least friends.

10- Write a query to count all the documents where tweet text includes the word goal and do not

include the word FIFA. (hint: an index may be needed here)

Part 2: MapReduce again …… really? … Yes

[url removed, login to view]

1- Write a map-reduce that calculates the total number of documents for each tweet text.

(Coding hint: The easiest way to create functions in the mongo shell, is to write the methods in a

text editor and paste them in, then call them within the shell.)


1- You should be developing this project under the Cloudera virtual machine. You should have

installed it at the beginning of this semester.

2- You need to develop the code using MonogDb scripting (usually JavaScript). It was the only

language used in class.

3- In the one file you have to submit, you are required to do the following:

a. Name the file [url removed, login to view]

b. Your code file has to start with a block of comment.

1. This comment block has: Students names, ids, and sections

c. Then, part 1 answers. Every answer query in one line only. You have to number the lines

to match the questions.

d. Last, part 2 answer where you have to put 3 blocks of code:

i. The map function code,

ii. The reduce function code, and

iii. Code to invoke map and reduce to solve the task in part 2.

4- You have to make sure that your code runs error-free, especially compilation/interpretation

errors. We will not debug or fix any errors. Very low score is expected in this case.

5- How to run the code:

a. Part1: create the scripts and execute these in the MongoDb shell.

b. Part2: see the hint above.

Competenze: Java, Javascript

Vedere di più: big data big analysis project management, bid project data need list top universities, give big project data entry, mongodb, big project data entry, project net need develop, project data structure java, methods import project data excel, vba project data excel, trail project data entry, project data structures, import microsoft project data excel, project data structures using, project data base gsm provider, web design project data sheet, project data storage, load data big file mysql, http wwwgetafreelancercomprojectsdata processing data entrycaptcha worker need fromhtml, need develop commerce website, programming project data structure

Sul datore di lavoro:
( 1 recensione ) Irving, United States

ID Progetto: #12053639

Assegnato a:


Very familiar to MongoDB and MapReduce. Get MongoDB certificate, and have 2 years experience in working with Hadoop, MapReduce.

$35 USD in 2 giorni
(6 valutazioni)

8 freelance hanno fatto un'offerta media di $33 per questo lavoro


Hi! I am professional C/C++/C#/Java programmer. I can do this project with highest quality! Best Regards, Szymszteinsl

$50 USD in 1 giorno
(50 Recensioni)

Hello, You can see my last project which are based on Machine Learning and I can complete your project perfectly. We have 9+ years experience in Java software development. We have successfully developed 400+ proj Più

$50 USD in 1 giorno
(20 Recensioni)
$25 USD in 10 giorni
(14 Recensioni)

I have read over your project description and I'm interested in completing your task. If you check my site or portfolio you will see that I am of a higher quality than most freelancers on here. I get it done quickly, e Più

$40 USD in 1 giorno
(9 Recensioni)

I have working experience in developing big data projects using hadoop and mongo db. for more information ping me

$77 USD in 1 giorno
(32 Recensioni)

We are highly experienced Post Graduate Engineers, Doctors, IT, ITES, Software, Infrastructure Professionals, Web Designers and IT Architects. We can redo, improve, and publish any engineering, scientific MATLAB, S Più

$100 USD in 3 giorni
(1 Recensione)
$25 USD in 1 giorno
(0 Recensioni)

Dear Client, Greeting of the day ahead !!! Thanks for providing us opportunity to place bid over the project and communicate with you. I am a serious bidder here and i have already worked on a similar project befor Più

$23 USD in 6 giorni
(0 Recensioni)

My Experince Of IT 7 years ,With Proffesional Knowledge of HTML ,CSS,JSP,Java Script,JQuerry,AngularJS ,Node JS Having Good Knowledge Of Market trends,website and technolgies make me different form Others ..And ofco Più

$35 USD in 1 giorno
(0 Recensioni)
$10 USD in 10 giorni
(0 Recensioni)

Warm greetings, I have gone through your requirements and I can do this task. The skills and resources needed for this project are in my genres. I can assure you for a complete professional work in given time line. Più

$25 USD in 1 giorno
(0 Recensioni)

I have about 4 years of experience working with MongoDB. This is a fairly easy task for me. Should be done in a day.

$20 USD in 1 giorno
(0 Recensioni)