Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
russellgoldenberg committed Mar 4, 2019
1 parent 1962558 commit 9dae100
Showing 1 changed file with 31 additions and 32 deletions.
63 changes: 31 additions & 32 deletions hype/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,37 @@ Below you'll find metadata for each file.
- **Observations (Rows)**: Each row represents data for a single player.
- **Variables (Columns)**:

| Header | Description | Data Type |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- |
| `name` | The player's name | text |
| `link` | The abbreviated link to a player's profile. If the link is written as follows: `/players/h/harrial01.html`, then that player has a profile on Basketball Reference and has made it to the NBA. Otherwise, the link is to any available player profile. | text |
| `rank` | Each player's high school rank. This should range between 1 and 100. Players that made it to the NBA that were not ranked in the top 100 during high school have an `NA` here. | number |
| `draft_year` | The year that a player declared for the NBA draft. Players that were not drafted into will have an `NA` here. | number |
| `draft_rd` | Denotes which round of the draft a player was selected for the NBA. Players that were not drafted will have an `NA` here. | number |
| `draft_pk` | Denotes which pick number overall the player was selected in the NBA draft. Players that were not drafted will have an `NA` here. | number |
| `college` | The college where the player played basketball. If a player attended and played at more than one school, only the school they finished their college career in is shown. Players that did not play in college are displayed as a blank here. | text |
| `recruit_year` | The year that the player was either recruited to a college team / their last year of high school | number |
| `bbrID` | The player's Basketball Reference id number | text |
| `pick_overall` | Denotes which pick number overall the player was selected in the NBA draft. Players that were not drafted will have an `NA` here. | number |
| `pick_round` | Index for draft results table. | number |
| `nba_mean_ws48` | The average (mean) Win Shares Per 48 value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_vorp` | The average (mean) Value Over Replacement Player value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_pipm` | The average (mean) Player Impact Plus Minus value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_wa` | The average (mean) Wins Added value for a player across all eligible seasons (according to required minutes played). | number |
| `top_mean_ws48` | The average (mean) Win Shares Per 48 value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_vorp` | The average (mean) Value Over Replacement Player value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_pipm` | The average (mean) Player Impact Plus Minus value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_wa` | The average (mean) Wins Added value for a player across their top 5 eligible seasons (according to required minutes played). | number |

| `nba_mean_ws48_rank` | The average (mean) league rank of Win Shares Per 48 value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_vorp_rank` | The average (mean) league rank of Value Over Replacement Player value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_pipm_rank` | The average (mean) league rank of Player Impact Plus Minus value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_wa_rank` | The average (mean) league rank of Wins Added value for a player across all eligible seasons (according to required minutes played). | number |
| `top_mean_ws48_rank` | The average (mean) league rank of Win Shares Per 48 value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_vorp_rank` | The average (mean) league rank of Value Over Replacement Player value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_pipm_rank` | The average (mean) league rank of Player Impact Plus Minus value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_wa_rank` | The average (mean) league rank of Wins Added value for a player across their top 5 eligible seasons (according to required minutes played).
| `total_seasons` | The total number of seasons played in the NBA. | number |
| `valid_seasons` | The number of seasons played in the NBA that meet the mininium required minutes played for advanced stats to count. | number |
| Header | Description | Data Type |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- |
| `name` | The player's name | text |
| `link` | The abbreviated link to a player's profile. If the link is written as follows: `/players/h/harrial01.html`, then that player has a profile on Basketball Reference and has made it to the NBA. Otherwise, the link is to any available player profile. | text |
| `rank` | Each player's high school rank. This should range between 1 and 100. Players that made it to the NBA that were not ranked in the top 100 during high school have an `NA` here. | number |
| `draft_year` | The year that a player declared for the NBA draft. Players that were not drafted into will have an `NA` here. | number |
| `draft_rd` | Denotes which round of the draft a player was selected for the NBA. Players that were not drafted will have an `NA` here. | number |
| `draft_pk` | Denotes which pick number overall the player was selected in the NBA draft. Players that were not drafted will have an `NA` here. | number |
| `college` | The college where the player played basketball. If a player attended and played at more than one school, only the school they finished their college career in is shown. Players that did not play in college are displayed as a blank here. | text |
| `recruit_year` | The year that the player was either recruited to a college team / their last year of high school | number |
| `bbrID` | The player's Basketball Reference id number | text |
| `pick_overall` | Denotes which pick number overall the player was selected in the NBA draft. Players that were not drafted will have an `NA` here. | number |
| `pick_round` | Index for draft results table. | number |
| `nba_mean_ws48` | The average (mean) Win Shares Per 48 value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_vorp` | The average (mean) Value Over Replacement Player value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_pipm` | The average (mean) Player Impact Plus Minus value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_wa` | The average (mean) Wins Added value for a player across all eligible seasons (according to required minutes played). | number |
| `top_mean_ws48` | The average (mean) Win Shares Per 48 value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_vorp` | The average (mean) Value Over Replacement Player value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_pipm` | The average (mean) Player Impact Plus Minus value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_wa` | The average (mean) Wins Added value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `nba_mean_ws48_rank` | The average (mean) league rank of Win Shares Per 48 value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_vorp_rank` | The average (mean) league rank of Value Over Replacement Player value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_pipm_rank` | The average (mean) league rank of Player Impact Plus Minus value for a player across all eligible seasons (according to required minutes played). | number |
| `nba_mean_wa_rank` | The average (mean) league rank of Wins Added value for a player across all eligible seasons (according to required minutes played). | number |
| `top_mean_ws48_rank` | The average (mean) league rank of Win Shares Per 48 value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_vorp_rank` | The average (mean) league rank of Value Over Replacement Player value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_pipm_rank` | The average (mean) league rank of Player Impact Plus Minus value for a player across their top 5 eligible seasons (according to required minutes played). | number |
| `top_mean_wa_rank` | The average (mean) league rank of Wins Added value for a player across their top 5 eligible seasons (according to required minutes played). |
| `total_seasons` | The total number of seasons played in the NBA. | number |
| `valid_seasons` | The number of seasons played in the NBA that meet the mininium required minutes played for advanced stats to count. | number |

## paths.csv & paths.R

Expand Down

0 comments on commit 9dae100

Please sign in to comment.