neo4j_rmfiles | R Documentation |
Remove files from the Neo4J import directory
neo4j_rmfiles( local = FALSE, con = list(address = NULL, uid = NULL, pwd = NULL), files = NULL, import_dir = "import" )
local |
Logical indicating whether import is to a locally hosted or remotely hosted server. |
con |
If remotely hosted server, list containing three objects: address, uid, pwd as character strings providing connection to the Neo4J server. uid and pwd must be for an account on the server with appropriate permissions. |
files |
Character vector of file names to be removed. |
import_dir |
Character string of path to the Neo4J import directory. |
A success message if successful. An error message otherwise.
# remove file from local import directory fs::dir_create("import") fs::file_create("import/data.csv") neo4j_rmfiles(local = TRUE, files = "data.csv", import_dir = "import") fs::dir_delete("import")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.