Ch 4 : db.startups no longer available?

Chapter 4 : The $bucket stage uses the companies collection from db.startups but this doesn’t appear to be accessible…

MongoDB Enterprise Cluster0-shard-0:PRIMARY> show dbs
100YWeatherSmall  0.128GB
admin             0.000GB
aggregations      0.067GB
citibike          0.367GB
city              0.002GB
config            0.000GB
coursera-agg      0.083GB
local             0.940GB
mflix             0.449GB
results           0.000GB
ships             0.001GB
video             0.513GB
MongoDB Enterprise Cluster0-shard-0:PRIMARY> use aggregations
switched to db aggregations
MongoDB Enterprise Cluster0-shard-0:PRIMARY> show collections
air_airlines
air_alliances
air_routes
bronze_banking
child_reference
customers
employees
exoplanets
gold_banking
icecream_data
movies
nycFacilities
parent_reference
silver_banking
solarSystem
stocks
system.profile
system.views

Its not vital but I’ve been playing around with the examples in the videos as I go along so was wondering whether this is still accessible?

@Neil_13322 are you referring to the Lecture: Facets: Manual Buckets lecture? This lecture is supplemental to Lecture: The $bucket Stage and I don’t believe that the companies collection was ever part of this session’s course.

There’s a related discussion in the following thread:

Yes I am…

As its listed sequentially and not in anyway de-marked as supplemental I expected to be able to follow along and play around as in other lectures.

I’m a student like yourself and I wondered the same thing. I did raise it with the Curriculum Engineers and they’ve taken it on board for the next session.

Hi @Neil_13322,

Please check the Handouts section for Chapter 4: Core Aggregation Multidimensional Grouping. From there you can download companies_dataset/companies.json and import the data from the json file.

Please check the following screenshot:

Let me know, if you have any questions.

Thanks,
Sonali

1 Like