process_rename_mainmodes | R Documentation |
The function process_rename_mainmodes takes the tibble trips_table as input and replaces all occurrences of the specified modes in column main_mode with another name provided in united_name.
process_rename_mainmodes(
trips_table,
unite_modes = character(0),
united_name = "united"
)
trips_table |
tibble of output_trips (from |
unite_modes |
vector of character strings, changes names of chosen modes in the column main_mode to a new chosen name (i.e. drtNorth and drtSouth to drt) |
united_name |
character string, specifies the name of the united mode |
tibble with new main_mode representation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.