# NOT RUN {
library(tidyr)
dim_names <- st_mrs_age %>%
get_dimension_names()
where <- st_mrs_age %>%
get_dimension("where")
# head(where, 2)
updates <- record_update_set() %>%
update_selection_general(
dimension = where,
columns_old = c("state", "city"),
old_values = c("CT", "Bridgepor"),
columns_new = c("city"),
new_values = c("Bridgeport")
)
# }
Run the code above in your browser using DataCamp Workspace