Coder Social home page Coder Social logo

m001's Introduction

Overview

Here you will find instructions for importing the datasets for M001: MongoDB Basics into a locally running MongoDB deployment.

Datasets

All datasets are provided in Amazon S3 in a single zip file (243 MB zipped; 1.5 GB unzipped). The files were created with the mongodump command. They may be imported into your MongoDB deployment using mongorestore. Note that these datasets include the indexes necessary to support example queries and labs used in M001. The datasets included are as follows.

  • 100YWeatherSmall (403 MB) - readings from weather stations throughout the world.
  • city (3.2 MB) - geospatial representations of neighborhoods in New York City.
  • citibike (835 MB) - details for trips taken using Citibikes.
  • ships (3.6 MB) - data on shipwrecks around the world, including geospatial coordinates.
  • video (303 MB) - summary data on movies.

Importing Data Locally

These instructions will help you load the M001 datasets into a local MongoDB instance (e.g., MongoDB running on your laptop). Note: this will require approximately 2.5 GB of RAM.

  1. Download the m001-datasets.zip file from S3.
  2. Unzip m001-datasets.zip. This will create a directory/folder called dump.
  3. Ensure you have a running MongoDB instance. For instructions on installation and setup, see the MongoDB installation documentation. Installation tutorials for all platforms include instructions for running MongoDB (the mongod daemon).
  4. Once you have a mongod instance running, you may import the datasets using mongorestore.
    1. Open a command shell (e.g., bash, powershell, or cmd).
    2. Change directory (e.g., cd) to where you unzipped m001-datasets.zip.
    3. Assuming you are running mongod on the default port, you may import the datasets from the dump directory by simply running, mongorestore. mongorestore looks for a directory called dump to import.

m001's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

m001's Issues

Incomplete collection citibike.trips

The github collection citibike.trips doesn't include documents with tripduration: null required to complete M101 Final Exam: Question 4. The version available at Atlass has those entries.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.