Lab 1.1 - Loading Datasets

Just a couple minor typos. The instructions for loading the datasets locally show the following:

$ mongoimport --drop -c people --uri mongodb://localhost:27017/m201 people.json
$ mongoimport --drop -c people --uri mongodb://localhost:27017/m201 restaurants.json

I believe the second one was meant to be restaurants, not people as in:

$ mongoimport --drop -c people --uri mongodb://localhost:27017/m201 people.json
$ mongoimport --drop -c restaurants --uri mongodb://localhost:27017/m201 restaurants.json

There’s a similar issue with the Atlas load instructions.

Also, the verification says to run:

> use 201
> db.people.count({ "email" : {"$exists": 1} })

I think you meant to use m201, not 201:

> use m201
> db.people.count({ "email" : {"$exists": 1} })
1 Like

A thread from a few days ago discusses the mongoimport issue, so I’m only posting on here so that all the issues related to lab 1.1 are in one place.

Fao: @Sonali_Mamgain

Thanks. Also, make sure that it is updated to use m201 and not use 201.

Hi @William_Moore_97877,

Thanks for sharing this feedback and putting them all together!!

We will make all the necessary changes so that users can complete the courses easily.

Thanks,
Sonali