Data Folder Structure for 2022:
It's that time again. (Time to create folder structure for the coming new year.)
One of the things you NEVER want to do is mix and match files from different years on the same folder. The file names of data and results files that you download do not contain a year element.
If you fail to create (and use) folder structure for the new year:
Not only do you run the risk of overwriting 2021 files with 2022 files... But you also risk corrupting your 2021 databases in the event you run a db build using a 2021 data file and a 2022 results file (or vice versa) for file names involving the same track code, month, and day of month.
I (personally) use a single folder for each year with 4 separate sub folders (one per calendar quarter) and 2 additional sub folders (to facilitate breaking up my race day into multiple groups in the DFM Card Loader.)
My old 2021 folder structure looks like this:
C:\2021 C:\2021\Folder2 C:\2021\Folder3 C:\2021\Q1_2021 C:\2021\Q2_2021 C:\2021\Q3_2021 C:\2021\Q4_2021
My new 2022 folder structure looks like this:
C:\2022 C:\2022\Folder2 C:\2022\Folder3 C:\2022\Q1_2022 C:\2022\Q2_2022 C:\2022\Q3_2022 C:\2022\Q4_2022
As new files for 2022 become available for download - and for the first several days of the new year - I will be toggling back and forth between folders inside of the DFM - being EXTREMELY careful that all 2021 files are downloaded to my C:\2021\Q4_2021 folder - and that all 2022 files are downloaded to my C:\2022\Q1_2022 folder.
Mode 4 is the way to go the first time you run a build database on your new 2022 folder.
Use Mode 5 for each subsequent build on that folder thereafter.
The Easy Way to Create Folder Structure for each New Calendar Year:
Beginning with all versions of JCapper published 12-31-2017 and later:
The Data Folder Mgr contains a MENU item labeled “Create Data Folders for New Year” (without the quotes.)
Launch the DFM, click MENU, and select “Create Data Folders for New Year” (without the quotes.)
This will launch the Year End Folder Creation Tool.
From here, click the Create Data Folders for New Year button – then key in the 4 digit year for the new folder(s) you wish to create (for example "2022" without the quotes) and answer Yes at the confirmation prompt.
The interface will create a new set of folders for the 4 digit year you keyed in – and display a detailed confirmation message at the end.
Scratch BOT
Newer Build 198 versions of Scratch BOT enable you to define a folder where your ScratchesAndChanges .xml files are automatically archived.
Basic Operating Instructions:
1. Manually create a new folder (use any drive or path on your system) where you want Scratch BOT to automatically archive the ScratchesAndChanges .xml files that you will download from Equibase during calendar year 2022 when you click the XML or Bot Mode buttons.
Note: Starting with calendar year 2018, I created folder structure beneath my c:\JCapper\ folder that looks like this:
c:\JCapper\ c:\JCapper\_XML_2018 c:\JCapper\_XML_2019 c:\JCapper\_XML_2020 c:\JCapper\_XML_2021 c:\JCapper\_XML_2022
A few minutes ago (on 12-31-2021 at about 11:00 am Pacific time) I created the new folder for 2022 as shown above.
And tomorrow morning when I bring up Scratch BOT for the very first time in 2022, I'll perform the following steps:
2. With the new folder created, bring up Scratch BOT just prior to running your first XML Parse routine for 2022, select MENU, and select XML Folder Archive Tool.
The XML Folder Archive Tool should look familiar. It has the same UI (User Interface) as the DFM.
3. Use the UI to select and persist the new folder (created in step 1 above) where you want Scratch BOT to automatically archive your 2022 ScratchesAndChanges .xml files.
For me that will be the c:\JCapper\_XML_2022 folder.
That's It.
Happy New Year Everyone!
-jp
.
|