align_names | R Documentation |
this function aligns the attribute names in x with those used in hydroloom. See hydroloom_names for how to add more attribute name mappings if the attributes in your data are not supported.
See hydroloom_name_definitions for definitions of the names used in hydroloom.
align_names(x)
x |
data.frame network compatible with hydroloom_names. |
data.frame renamed to match hydroloom as possible.
x <- sf::read_sf(system.file("extdata/new_hope.gpkg", package = "hydroloom"))
names(x)
x <- align_names(x)
names(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.