The NBA dcupl demo project includes data of teams and their rankings, players, games and game details from 2004 to 2020. The data is provided on kaggle, please find the link below. If you register an user for the dcupl Console, you can join this demo and try out the different views based on the dcupl Draft Version.
The dataset is quite big. "games_details" includes about 650.000 lines.
The goal of this project is to demonstrate how to use the dcupl SDK and modelling language and the dcupl Console to build fast and reliable applications in no time.
dcupl Section, Derives & Expressions
The players model derives some attributes and concatenates them using expressions (city + nickname => team's full name). In addition a section was defined for the players in order to group them by teams.
- The code for this example is available on Github
- Kaggle Dataset https://www.kaggle.com/datasets/nathanlauga/nba-games
Run it on your local machine
# 1) clone the project
git clone email@example.com:dcupl-demos/nba.git
# 2) install and serve the dcupl dev server on localhost:8083
|players||~7230||PLAYER_NAME,TEAM_ID, teamCity, teamNickname, teamName, PLAYER_ID,SEASON|
Initial data structure
Our main model of interest is the
Players and the
Games model. The players data includes the reference
TEAM_ID - the
Team the player is playing for. The
GameDetails data references certain teams and players.