Reference no: EM132481859
CST4070 Individual Assignment
NoSQL databases, formative assignment.
General information
You are required to solve the tasks illustrated below. Each task should be accompanied by:
A short introduction where you describe the problem and your high level solution.
Your step-by-step process supported by your original code. Each block of code needs to be accompanied by a short explanatory text.
Eventually, if necessary, conclude each task with brief summary of what you have done.
As individual submission, you need to export your individual R Notebook (or Python Jupyter Notebook, at your choice) into a PDF file. Your submission needs to be a single PDF file.
Your submission needs to be unique
When solving your tasks, you need to make your submission and comments unique.
Assignment Task
Follow the lab instructions to install MongoDB into your (virtual or local) environment. Once you have MongoDB installed and running, install mongolite library in R or Pymongo library in Python at your choice. Use either R or Python to execute the following tasks:
Part 1. Unzip the file restaurants.zip and extract the content. Import the file into a MongoDB collection called restaurants .
Part 2. Write a MongoDB query to display all the restaurants from the borough .
Part 3. Determine the minimum and the maximum score achieved by any restaurant.
Part 4. Visualise the frequency distribution of the average scores achieved by any restaurant.
Part 5. Select all the restaurants and save them into csv (comma separated value) table. The structure of the table needs to be: name, borough, average_score, where average_score contains the average numerical score of each corresponding restaurant.
Attachment:- formative assignment - FormativeMongoDB.rar
Develop a draft of your research paper using the components
: Develop a draft of your research paper using the components that you have developed in the course so far. Make use of your sentence outline and annotated.
|
How much Mira will recognize a gain
: On January 2, 2019, Mira sells her stock to Cheryl Bazley for $25,000,000. As a result of the sale, how much Mira will recognize a gain
|
How would you use the least square method
: Describe in one page or less, how would you use 'the least square method' to find the cube function that approximate the time series the best.
|
What is the effect on Rush Company capital structure
: Rush Company has 1000 shares of stock outstanding. Its paid-in-capital is $700,000. What is the effect on Rush Company capital structure
|
Write a mongodb query to display all the restaurants
: Write a MongoDB query to display all the restaurants from the borough and Determine the minimum and the maximum score achieved by any restaurant
|
Difference between perpetual and periodic inventory systems
: Discuss and Explain the difference between the Perpetual and Periodic inventory systems and let us know why anyone would use Periodic inventory
|
Discuss criminal law and civil law
: This week we discuss criminal law and civil law, commonly referred to as tort law. What is the difference between criminal law and tort law?
|
Can you explain what each parameter is
: Elliptic Curve requires these parameters (P, a, b, G, n, h). Can you explain what each parameter is? You will need to research your answers.
|
How does your position affect your stance
: How does your position affect your stance on controversial bioethical issues, such as abortion, designer babies, and stem cell research? The response nust be.
|