neon_delete_db | R Documentation |
delete the local NEON database
neon_delete_db(db_dir = neon_db_dir(), ask = interactive())
db_dir |
neon database location (configurable with the NEONSTORE_DB environmental variable) |
ask |
Ask for confirmation first? |
Just a helper function that deletes the NEON database
files, which are found under file.path(neon_dir(), "database")
.
This does not delete downloaded raw data, which can easily be
re-loaded with neon_store()
. Usually unnecessary but can be
helpful in resetting a corrupt database.
If you want to delete all raw data files downloaded by neonstore
as well, simply delete the entire directory given by neon_dir()
# Create a db
dir <- tempfile()
db <- neon_db(dir)
# Delete it
neon_delete_db(dir, ask = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.