Skip to content

This project shows the data model of the NBA shots dataset for the 2022/2023 season.

Notifications You must be signed in to change notification settings

escobarana/nba_shots_datamodeling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NBA Shots Season 22-23

Introduction

This project shows the data model of the NBA shots dataset for the 2022/2023 season. The dataset provides insights into LeBron James, James Harden and Stephen Curry shots and related information for the season.

Source Dataset

The dataset used in this project can be found here.

Project Structure

The project structure includes the following components:

  • data Folder: Contains the csv files, which are not committed to the repository.
  • helpers Folder: Includes code for creating a PostgreSQL database and its associated methods. It also includes a utils Python File that contains utility methods, including those for reading CSV files and returning Pandas DataFrames.
  • images Folder: Contains a database diagram in PNG format showing tables and attributes.
  • main.py: The primary file in the root directory that orchestrates data processing. It reads CSV files, creates the database if it doesn't exist, generates tables, and populates them with the data.

Database Diagram

Database Diagram

Installation and Execution

Dependency Management

The project's library dependencies are managed using Poetry. If you don't have Poetry installed, you can get it from here.

After installing Poetry, navigate to the project directory and execute the following command to install dependencies:

poetry install

Running the project

To run the project, execute the following command:

poetry run python main.py

Creator

This project was created by Ana Escobar Llamazares. For any inquiries or clarifications, please reach out to via email.

Feel free to explore and contribute to this project!

About

This project shows the data model of the NBA shots dataset for the 2022/2023 season.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages