Coder Social home page Coder Social logo

pregismond / working-with-nosql-databases Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7.13 MB

Final Assignment Submission: Working with NoSQL Databases

License: Apache License 2.0

Shell 100.00%
cassandra coursera ibm-cloudant ibm-skills-network mongodb nosql ibm-cloud

working-with-nosql-databases's Introduction

Working with NoSQL Databases

Visitors License Cloudant 8510 MongoDB 3.6.3 Cassandra 4.1.4

Disclaimer

This repository contains my submission for the Final Assignment Project: Working with NoSQL Databases. The original files were provided by the IBM Skills Network as part of the Introduction to NoSQL Databases course on Coursera. I have made modifications to fulfill the project requirements.

Usage

  • You are welcome to use this repository as a reference or starting point for your own project.

  • If you choose to fork this repository, please ensure that you comply with the terms of the Apache License and give proper credit to the original authors.

Project Scenario

As a data engineer at a Data Analytics Consulting Company, we take pride in our ability to efficiently handle data in any format on any database platform. The analysts in our offices rely on me to move data from external sources into various databases, transfer data between different types of databases, and execute basic queries across various databases. It’s a critical role that ensures our analysts can focus on analyzing data without worrying about the technical intricacies of data movement and management.

Objectives

  • Replicate a Cloudant database
  • Create indexes on a Cloudant database
  • Query data in a Cloudant database
  • Import data into a MongoDB database
  • Query data in a MongoDB database
  • Export data from MongoDB
  • Import data into a Cassandra database
  • Query data in a Cassandra database

Directions

  • Task 1 - Replicate a local database into your Cloudant instance.
  • Task 2 - Create an index for the Director key, on the movies database using the HTTP API.
  • Task 3 - Write a query to find all movies directed by Richard Gage using the HTTP API.
  • Task 4 - Create an index for the title key, on the movies database using the HTTP API.
  • Task 5 - Write a query to list only the year and Director keys for the Top Dog movie using the HTTP API.
  • Task 6 - Export the data from the movies database into a file named movies.json.
  • Task 7 - Import movies.json into mongodb server into a database named entertainment and a collection named movies.
  • Task 8 - Write a mongodb query to find the year in which most number of movies were released.
  • Task 9 - Write a mongodb query to find the count of movies released after the year 1999.
  • Task 10 - Write a query to find out the average votes for movies released in 2007.
  • Task 11 - Export the fields _id, title, year, rating and director from movies collection into a file named partial_data.csv.
  • Task 12 - Import partial_data.csv into cassandra server into a keyspace named entertainment and table named movies.
  • Task 13 - Write a cql query to count the number of rows in the movies table.
  • Task 14 - Create an index for the rating column in the movies table using cql.
  • Task 15 - Write a cql query to count the number of movies that are rated 'G'.

Setup

Before proceeding, complete the steps in the How to Create an IBM Cloudant Instance document to create a free multi-tenent Cloudant instance.

Note: This repo can also be used for local NoSQL database migration and analysis. You must have MongoDB Server and Apache Cassandra already installed. Refer to the links below:

Start the MongoDB and Cassandra processes according to your environment.

Begin the Final Assignment Project: Working with NoSQL Databases.

Learner

Pravin Regismond

Acknowledgments

  • IBM Skills Network © IBM Corporation 2023. All rights reserved.

working-with-nosql-databases's People

Contributors

pregismond avatar

Watchers

 avatar

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.