Please choose your answer below for the most prolific comment author:. The documents look like this: Choose the answer below. You will need to probably change your projection to send more info through than just that first character. At the end I just want to say if you want to learn mongoDB, First practice with youself. Import it into your mongod using the following command from the command line:.

Then import into your blog database as follows:. Those students achieved a class average of Check all that apply. Please round the answer to a whole number. Download the handout and mongoimport.

Your task is to calculate the class with the best average student performance. Using the aggregation framework, calculate the sum total of people who are living in a zip code where the city starts with one of those possible anxwers characters.

For this problem, assume that a city name that appears in more than one state represents two separate cities. Import it into your mongod using the following command from the command line:.

For this problem, we have used a subset of the data answerx previously used in zips. Please choose your answer below for the most prolific comment author:.

# Fan+: MongoDB MP HW5 answers

Don’t include their quiz scores in the calculation. Please use the Aggregation pipeline to solve this problem. Start by downloading the handout zip file for this problem.

To be clear, each student’s average includes only exams and homework grades. Also, you will need a filtering step to get rid of all documents where the city does not start with the select set of initial characters. Note that not all students in the same class have the monyodb exact number of assessments.

This involves calculating an average for each student in each class of all non-quiz assessments and then averaging those numbers to get a class average. Some students have three homework assignments, etc. A city might have multiple zip codes.

Download the handout and mongoimport. To help you verify your work before answer, the author with the fewest comments is Mariela Sherer and she commented times.

You must figure out the GPA that each student has achieved in a class and then average those numbers to get a class average. Then import into your blog database as follows:. If you notice that while importing, there are a few duplicates fear not, this is expected and ansaers not affect your answer.

# Study IQ World: Week 5 : AGGREGATION FRAMEWORK : MP: MongoDB for Developers

You need to group twice to solve this problem. Friday, 8 September Week 5: Check all that apply.

m101l We will be using a data set similar to ones we’ve used before. We will take these are the prefered cities to live in chosen by this instructor, given is special affection to this set of characters! For example, to extract the first character from the city field, you could write this pipeline:. The answer for CT and NJ using this data set is Now use the aggregation framework to calculate the author with the greatest number of comments.

## Mongodb M101J Homework 1 1 Answers

The documents look like this: Choose the answer below. At the end I just want to say if you want to learn mongoDB, First practice with youself. Crunching the Zipcode dataset Please calculate the average population of cities in California abbreviation CA and New York NY taken together with populations over 25, In this assignment you will use the aggregation framework to find monfodb most frequent annswers of comments on your blog.

After that, you just need to sort.

You will be using the zip code collection data set, which you will find in the ‘handouts’ link in this page. In this assignment you will use the aggregation framework to find the most frequent author of comments on your blog