redList.Rds is imported and saved multiple times, which causes issues if focal taxa or other things in the pipeline are changed. eg at one point, redList is filtered to only selected species with valid number of data, this file is saved to folderName and used throughout, but becomes outdated if user specifies different species for same "dateAccessed".
What changes have been made?
pipeline/import/initialiseRepository.R - importRedList() moved from pipeline/import/taxaImport.R, and saved in its raw form in tempFolderName. sections have all been re-numbered accordingly.
pipeline/import/taxaImport.R - import raw redList from tempFolderName, then process as needed and save modified redList to FolderName (latter part is same as before)
Why have changes been made?
redList.Rds is imported and saved multiple times, which causes issues if focal taxa or other things in the pipeline are changed. eg at one point, redList is filtered to only selected species with valid number of data, this file is saved to folderName and used throughout, but becomes outdated if user specifies different species for same "dateAccessed".
What changes have been made?