Académique Documents
Professionnel Documents
Culture Documents
d. Clearly list the code lines. Ensure that they will run successfully when
we test your code.
Create database: Use mongodb_lab3
Create collection1: Db.createCollection(Sierraleone_Data)
Create collection2: Db.createCollection(Guinea_Data)
Import data for Sierra Leone collection: mongoimport -d mongodb_lab3 -c
Sierraleone_Data --type csv --file C:\Temp\sierra_leone_ebola_data.csv --headerline
connected to: 127.0.0.1
2015-02-01T23:06:34.961-0500 check 9 750
2015-02-01T23:06:34.999-0500 imported 749 objects
Import data for Guinea collection: mongoimport -d mongodb_lab3 -c
Guinea_Data --type csv --file C:\Temp\guinea_ebola_data.csv --headerline
e. Also ensure you provide the code to insert the data as well as snapshot
of the output
Please find below the following snapshots:
Snapshot1: Snapshot of Sierra Leone dataset
Snapshot2: Snapshot of Guinea dataset
4.
5.
6. Query result for finding the number of deaths in Kambia and Kailahun regions
of Sierra Leone.
7.
8.