Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Access the dataset for this assignment, city _ inspections.json, in the / usr / local / datasets directory in your Apporto environment. Using the mongoimport

Access the dataset for this assignment, city_inspections.json, in the /usr/local/datasets directory in your Apporto environment. Using the mongoimport tool and documents found in the city_inspections.json file, load the database city into the inspections collection. Complete this task by typing the following commands in the Linux terminal to perform the import in the right directory:
Change into the Apporto directory with the data sets:
cd /usr/local/datasets/
Use the mongo import utility to load the data set:
mongoimport -username=${MONGO_USER}\
-password=${MONGO_PASS}-port=${MONGO_PORT}\
--host=${MONGO_HOST}-db city -collection inspections \
--authenticationDatabase admin -drop ./city_inspections.json

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genetic Databases

Authors: Martin J. Bishop

1st Edition

0121016250, 978-0121016258

More Books

Students also viewed these Databases questions

Question

Basic Computation Compute: (a) P7,2 (b) C7,2 (c) P3,3 (d) C4,4

Answered: 1 week ago

Question

1. Let a, b R, a Answered: 1 week ago

Answered: 1 week ago