Then import into your blog database as follows: 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, You will need to probably change your projection to send more info through than just that first character. You will be using the zip code collection data set, which you will find in the ‘handouts’ link in this page. Then import into your blog database as follows:. For purposes of keeping the Hands On shell quick, we have used a subset of the data you previously used in zips. If you imported it correctly, you can go to the test database in the mongo shell and conform that.

Who’s the easiest grader on campus? This is why there are only documents and zip codes , and all of them are in New York, Connecticut, New Jersey, and California. There is also an issue with some versions of MongoDB 3. Please round the answer to a whole number. 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.

For example, to extract the first character from the city field, you could write this pipeline:. In this assignment you will use the aggregation framework to find the most frequent author of comments on your blog. The answer for CT and NJ using this data set is Please choose your answer below for the most prolific comment author: In this assignment you will use the aggregation framework to find the most frequent author of comments on your blog.

Note that not all students in the same class have the same exact number of assessments. Please use the Aggregation pipeline to solve this problem. Now use the aggregation framework to calculate the author with the greatest number of comments.

If you prefer, you may download the handout and perform your analysis on your machine with. The documents look like this: Your task is to calculate the class with the best average student performance. 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, The project operator hokework extract the first digit from any field.

After that, you just need to sort. Check all that apply. You will need to probably change your projection to send more info through than just that first character.

You will be using the zip code collection data set, which you will find in the ‘handouts’ link in this page. You must figure out the GPA that each student has achieved in a class and then average those numbers to get a class average. Some students have three homework assignments, etc. Those students achieved a class average of Note that not all students in the same class 55.1 the same exact number of assessments.

Also, you will need a filtering step homweork get rid of all documents where the city does not start with the select set of initial characters.

## Agentur für webbasierte Software aus Hamburg

You need to group twice to solve this problem. A city might have multiple zip codes. There is also an issue with some versions of MongoDB 3.

Also, you will need a filtering step to get rid of all documents where the city does not start with a digital The answer for CT and NJ using this data set is Different states might have the same city name. To be clear, each student’s hlmework includes only exams and homework grades. 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 first characters.

# [SOLUTION] WEEK 5 : INDEXES AND PERFORMANCE : MJS: MONGODB FOR DEVELOPERS

Start by downloading the handout zip file for this problem. This is why there are only documents and zip codesand all of them are in New York, Connecticut, New Jersey, and California.

You must figure out the GPA that each student has achieved in a class and then average those numbers to get a class average. Now homeworj the aggregation framework to calculate the author with the greatest number of comments.

## MongoDB university m101p chapter 5 homework

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.

After that, you just need to sort. In this problem you will calculate the number of people who live in a zip code in the US where the city starts with one of the following characthers:.