Created
September 4, 2020 13:51
-
-
Save chasemc/778299fd83c9b96c70ec90e816683678 to your computer and use it in GitHub Desktop.
Update to new IDBAc db schema (currently need "prioritizer" git branch of IDBac)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| old_files_path <- "/home/user/Downloads/db/old" | |
| a <- list.files(old_files_path, full.names = FALSE) | |
| a <- tools::file_path_sans_ext(a) | |
| for(i in a) { | |
| pool <- IDBacApp::idbac_connect(fileName = i, | |
| filePath = old_files_path)[[1]] | |
| IDBacApp::idbac_update_db(pool = pool, | |
| copy_overwrite = "copy") | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment