make changes for 2024 release

This commit is contained in:
filifa 2024-05-04 20:58:04 -05:00
parent eb2874a9c5
commit ea6f700748
1 changed files with 28 additions and 28 deletions

View File

@ -1,6 +1,6 @@
.PHONY: db
bbdb = baseballdatabank-2023.1
bbdb = lahman_1871-2023_csv
db: baseball.db
@ -48,30 +48,30 @@ baseball.db: baseball-raw.db sql/awards.sql sql/franchises.sql sql/teamseasons.s
baseball-raw.db:
rm -f baseball-raw.db
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/AllstarFull.csv allstarfull"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/Appearances.csv appearances"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/Batting.csv batting"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/BattingPost.csv battingpost"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/Fielding.csv fielding"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/FieldingOF.csv fieldingof"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/FieldingOFsplit.csv fieldingofsplit"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/FieldingPost.csv fieldingpost"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/HomeGames.csv homegames"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/Managers.csv managers"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/ManagersHalf.csv managershalf"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/Parks.csv parks"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/People.csv people"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/Pitching.csv pitching"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/PitchingPost.csv pitchingpost"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/SeriesPost.csv seriespost"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/Teams.csv teams"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/TeamsFranchises.csv teamsfranchises"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/core/TeamsHalf.csv teamshalf"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/contrib/AwardsManagers.csv awardsmanagers"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/contrib/AwardsPlayers.csv awardsplayers"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/contrib/AwardsShareManagers.csv awardssharemanagers"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/contrib/AwardsSharePlayers.csv awardsshareplayers"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/contrib/CollegePlaying.csv collegeplaying"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/contrib/HallOfFame.csv halloffame"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/contrib/Salaries.csv salaries"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/contrib/Schools.csv schools"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/AllstarFull.csv allstarfull"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/Appearances.csv appearances"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/Batting.csv batting"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/BattingPost.csv battingpost"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/Fielding.csv fielding"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/FieldingOF.csv fieldingof"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/FieldingOFsplit.csv fieldingofsplit"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/FieldingPost.csv fieldingpost"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/HomeGames.csv homegames"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/Managers.csv managers"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/ManagersHalf.csv managershalf"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/Parks.csv parks"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/People.csv people"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/Pitching.csv pitching"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/PitchingPost.csv pitchingpost"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/SeriesPost.csv seriespost"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/Teams.csv teams"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/TeamsFranchises.csv teamsfranchises"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/TeamsHalf.csv teamshalf"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/AwardsManagers.csv awardsmanagers"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/AwardsPlayers.csv awardsplayers"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/AwardsShareManagers.csv awardssharemanagers"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/AwardsSharePlayers.csv awardsshareplayers"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/CollegePlaying.csv collegeplaying"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/HallOfFame.csv halloffame"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/Salaries.csv salaries"
sqlite3 baseball-raw.db ".import --csv $(bbdb)/Schools.csv schools"