I have the following dataframe in R. Is there a quick way to replace all of the NA values in the dataframe with a blank string in dplyr?
data <- structure(list(Bank = c("Primary Residential Mortgage Loans",
"FNB", "BWHK", "NED", "STD", "Average", "Non-Primary Residential Mortgage Loans",
"FNB", "BWHK", "NED", "STD", "Average"), `Q3 2021` = c(NA, 88.3,
66.5, 87.07, 97.97, 84.96, NA, 11.7, 33.5, 12.93, 2.03, 15.04
), `Q4 2021` = c(NA, 88.43, 66.71, 87.57, 98, 85.18, NA, 11.57,
33.29, 12.43, 2, 14.82), `Q1 2022` = c(NA, 88.67, 66.6, 89.25,
97.9, 85.61, NA, 11.33, 33.4, 10.75, 2.1, 14.39), `Q2 2022` = c(NA,
88.84, 66.67, 89.18, 97.91, 85.65, NA, 11.16, 33.33, 10.82, 2.09,
14.35), `Q3 2022` = c(NA, 89.09, 66.77, 88.96, 97.98, 85.7, NA,
10.91, 33.23, 11.04, 2.02, 14.3), `Q-o-Q % Point Change` = c(NA,
0.25, 0.1, -0.22, 0.07, 0.05, NA, -0.25, -0.1, 0.22, -0.07, -0.05
), `Y-o-Y % Point Change` = c(NA, 0.79, 0.27, 1.89, 0.01, 0.74,
NA, -0.79, -0.27, -1.89, -0.01, -0.74)), row.names = c(NA, -12L
), class = c("tbl_df", "tbl", "data.frame"))