od_table_save()
creates a tar archive containing all relevant data from the
OGD portal. od_table_local()
parses the tar archive and recreates the
od_table
object.
Examples
x <- od_table("OGD_krebs_ext_KREBS_1")
# save dataset as an archive
archive <- file.path(tempdir(), "table.tar.gz")
od_table_save(x, archive)
# read the saved archive
x2 <- od_table_local(archive)
# cleanup
file.remove(archive)
#> [1] TRUE