GithubHelp home page GithubHelp logo

dynamodb-tables's Introduction

DynamoDb: The purpose of this project is to design tables so that we can update them by adding more countries to the database, as well as years of data. I designed the tables so that economic and non-economic data are not in the same table. Moreover, I made a python module that helped me accomplish the tasks I needed to do in dynamo db the module is called aws_module and includes the following:

aws_module: contains modules to help creating tables, deleteing tables, loading csv file to a table, adding indvidual record, deleteing indvidual record, as well as query and scan tables

Programs:

1- create_all_tables.py: This programs create all the tables and load all the csv files to the dynamodb. You will be asked to enter 3 table names, please make sure that your table name is as specied in the terminal instruction. All tables will start with table_name. At the end of the program you will have the option to delete some tables if you would like.

  1. add_missing_information.py: In this program you can add infromation to the existing tables. If you have not created the tables this program won't work and will give you an error. At the start of the program, you will be asked to enter the table name that you want to add information to. Then the program will ask for other inputs in order to add the record.

  2. create_reports.py: This program creates 2 reports in a (txt file) format. At the start of the program, you will be asked to enter the 3 table names that you have in dynamodb. After that you will have a choice to produce Report, you can enter 'A' to create Country Level Report, or 'B' for Global Report, or 'C' for both reports. The program will ask for inputs in order to produce the reports. After the program is done, the reports will be ready in the same directory as the 3 programs(create_all_tables.py,create_reports.py,add_missing_information.py)

Note: The csv files must be in the same directory as the 3 programs(create_all_tables.py,create_reports.py,add_missing_information.py)

dynamodb-tables's People

Contributors

mustafaobaidi avatar

Watchers

James Cloos avatar  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.