Spaces:
Runtime error
Runtime error
Update app.R
Browse files
app.R
CHANGED
|
@@ -196,6 +196,7 @@ get_player_info <- function(player_id, season, level = "MLB") {
|
|
| 196 |
full_position == "Center Field" ~ "CF",
|
| 197 |
full_position == "Right Field" ~ "RF",
|
| 198 |
full_position == "Outfielder" ~ "OF",
|
|
|
|
| 199 |
full_position == "Designated Hitter" ~ "DH",
|
| 200 |
full_position == "Pitcher" ~ "P",
|
| 201 |
full_position == "Two-Way Player" ~ "TWP",
|
|
|
|
| 196 |
full_position == "Center Field" ~ "CF",
|
| 197 |
full_position == "Right Field" ~ "RF",
|
| 198 |
full_position == "Outfielder" ~ "OF",
|
| 199 |
+
full_position == "Outfield" ~ "OF",
|
| 200 |
full_position == "Designated Hitter" ~ "DH",
|
| 201 |
full_position == "Pitcher" ~ "P",
|
| 202 |
full_position == "Two-Way Player" ~ "TWP",
|