SIG.export | R Documentation |
Cette fonction permet d'exporter un dataframe (avec deux colonnes X et Y) ou un sf en Lambert 93 dans un shapefile/geojson/kml/excel
SIG.export(
data = Stations,
nomfichier = glue("{today()}_Export_stations"),
shp = TRUE,
kml = TRUE,
geojson = TRUE,
excel = TRUE
)
data |
Dataframe à exporter |
nomfichier |
Nom du fichier de sortie |
shp |
Export au format shapefile ( |
kml |
Export au format kml ( |
geojson |
Export au format geojson ( |
excel |
Export au format excel ( |
SIG.export(Stations, glue("{today()}_Export_stations"))
Stations %>% SIG.export("Stations", shp = F, kml = F, excel = F)
Resultats %>% SIG.export(glue("{today()}_Suivi_MI_BV_Bienne"), shp = F, kml = F, excel = F)
Stations %>% SIG.export(glue("{today()}_{str_replace_all(titre, ' ', '_')}"))
DataToAdd %>% st_as_sf(coords = c("XLong", "YLat"), crs = 4269) %>% st_transform(2154) %>% SIG.export("GCL_Bathy_points_bruts")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.