View source: R/write_records.R
write_records | R Documentation |
write_records
writes records. Obtain available formats through get_records_drivers.
Records can be read through read_records.
write_records( records, file = NULL, driver = "GeoJSON", dir_out = NULL, append = FALSE, verbose = TRUE, ... )
records |
data.frame, one or multiple records (each represented by one row), as it is returned by get_records. |
file |
character file name or file path of file to be saved. If it is a file name it will be written
at |
driver |
character specifies the writer. Options are all thise returned by
get_records_drivers. Will be ignored in case a fully qualified |
dir_out |
character. If |
append |
logical, if TRUE and a file path is given through |
verbose |
logical, if |
... |
further arguments to be passed to sf::st_write. |
character file path to saved records.
Henrik Fisser, 2020
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.