Spaces:
Running
Running
Update app.R
Browse files
app.R
CHANGED
|
@@ -2942,36 +2942,6 @@ create_pitcher_pdf <- function(game_df, pitcher_name, output_file, pitch_colors)
|
|
| 2942 |
}
|
| 2943 |
|
| 2944 |
|
| 2945 |
-
## --- EMBEDDED LOGO LINKS ---
|
| 2946 |
-
left_logo_url <- "https://i.imgur.com/zjTu3JS.png"
|
| 2947 |
-
right_logo_url <- "https://i.ibb.co/Q3kFXXd9/8acd1b8a-7920-403a-8e9d-86742634effb.png"
|
| 2948 |
-
|
| 2949 |
-
draw_logo_url(left_logo_url, 0.05, "left")
|
| 2950 |
-
draw_logo_url(right_logo_url, 0.95, "right")
|
| 2951 |
-
|
| 2952 |
-
## --- HEADER TEXT ---
|
| 2953 |
-
grid.text(
|
| 2954 |
-
title_text,
|
| 2955 |
-
y = 0.975,
|
| 2956 |
-
gp = gpar(fontsize = 16, fontface = "bold")
|
| 2957 |
-
)
|
| 2958 |
-
|
| 2959 |
-
grid.text(
|
| 2960 |
-
subhead_text,
|
| 2961 |
-
y = 0.948,
|
| 2962 |
-
gp = gpar(fontsize = 12, fontface = "bold")
|
| 2963 |
-
)
|
| 2964 |
-
|
| 2965 |
-
if (!is.na(game_date)) {
|
| 2966 |
-
grid.text(
|
| 2967 |
-
game_date,
|
| 2968 |
-
y = 0.925,
|
| 2969 |
-
gp = gpar(fontsize = 9)
|
| 2970 |
-
)
|
| 2971 |
-
}
|
| 2972 |
-
}
|
| 2973 |
-
|
| 2974 |
-
|
| 2975 |
# =====================================================================
|
| 2976 |
# ====================== UMPIRE CODE ================================
|
| 2977 |
# =====================================================================
|
|
|
|
| 2942 |
}
|
| 2943 |
|
| 2944 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2945 |
# =====================================================================
|
| 2946 |
# ====================== UMPIRE CODE ================================
|
| 2947 |
# =====================================================================
|