Skip to content

Commit

Permalink
Clear old data to ensure you are only exporting correct data.
Browse files Browse the repository at this point in the history
  • Loading branch information
nohelix committed Mar 13, 2024
1 parent 3d39917 commit 05116e0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions admin tools/Exporter.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ columns_to_keep_nested = c("dprime", "reaction")
# Do not include records before the following date
# Date format should be: YYYYMMDD
# for all records, set to NULL
start_date_of_desired_records = 20230210
end_date_of_desired_records = 20230210
start_date_of_desired_records = NULL
end_date_of_desired_records = NULL


save_location = "C:/Users/Noelle/Box/Behavior Lab/Shared/Walker/"
Expand All @@ -37,6 +37,10 @@ rat_decoder = fread(glue("{projects_folder}/rat_archive.csv"),
select = c("Rat_ID", "DOB", "Sex", "Genotype", "HL_date"))


# Clear old data if exists ------------------------------------------------
rm(dataset, decoded_data, selected_data, data_for_export, data1, data2)


# Remove bad data ---------------------------------------------------------
#TODO: deal with multiple runs in a day

Expand Down

0 comments on commit 05116e0

Please sign in to comment.