Description Usage Arguments Value Examples
Takes a dataframe and converts it into a json key value pair currently only returns as strings #'
1 |
df |
is expected to be a dataframe extracted from an SF object |
should return a dataframe of key value pairs
1 2 3 4 5 | library(sf)
nc <- st_read( system.file("shape/nc.shp", package="sf"))
attri <- boundary %>% dplyr::mutate_all(~ gsub('"', "'", .)) %>%
as.data.frame() %>% dplyr::select(-geometry) %>% key_Pair()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.