ed_db_export: Export the local EIDITH database to a file

View source: R/database.R

ed_db_exportR Documentation

Export the local EIDITH database to a file

Description

This function allows you to export the local EIDITH database to a file that can then be used by others. The database is in SQLite format.

Usage

ed_db_export(filename, ...)

Arguments

filename

The filename to export to. We suggest something ending in .sqlite.

...

Other options passed to file.copy()

See Also

ed_db_status(), ed_db_updates(), ed_db_export()

Examples

## Not run: 
  #Here's an example of how to export and then use the exported database

  ed_db_export("mydb.sqlite")
  options(ed_sql_path = "mydb.sqlite") # This switches to working with the exported database
  ed_db_status()  #get status of the current (exported) database

## End(Not run)

ecohealthalliance/eidith documentation built on Aug. 30, 2022, 7:45 a.m.