Closed eburton9 closed 3 years ago
@eburton9 thanks! I am reviewing.
@eburton9 good start! A few things to note on review.
Please let me know if you have other questions. Otherwise please continue with the other programs from the issue. Thanks!
@eburton9 if it's helpful, the format name you want to use in the %Data_to_format macro should match what is in the 2020 correspondence column of this spreadsheet:
\sas1\dcdata\Libraries\General\Doc\Geographic levels.xlsx
@rpitingolo here are the other program updates. The only errors are on the city, eor, and tract10 ones, the rest I could debug but couldn't figure out why the data wasn't working on those three. The city and eor files seem to be really short too, I don't know if they are incomplete? Thanks!
@eburton9 thanks. I'll give those first three a look first.
@eburton9 a few of these are not working quite right but it's hard to notice because they don't show up as errors in the log. I am working on debugging now.
Can you please also make and commit Block20_Anc02.sas and Block20_Anc12.sas? I forgot those on the original issue.
@rpitingolo Sorry about that! Here are those two
@eburton9 great, thanks. I think we are nearly there. I want to do one more pass through to double check everything, so if you could be ready to finalize tomorrow morning we can get this done and move on to the final step.
@eburton9 These are now good to go. Please go ahead and merge this pull request, sync on SAS1 and then batch submit these programs one at a time. Then you can move on to the next issue.
@eburton9 The primary edits that I made had to do with the macros that convert the ID from the shapefile into the correct format for our needs. What happened is that the last time we did this, the input variable for many of the geographies was called NAME. However, the 2020 block shapefile that we used to merge also has a variable called NAME. ArcGIS renamed the variable we usually need to NAME_1. So you will see I added a parameter to the macro, for example %Octo_Cluster17(invar=Name_1);
This is tricky because when you ran the programs it didn't produce an error in the log. It was creating a variable, but it was using the wrong input and therefor it was not creating it correctly.
You don't have to take any action, I just wanted to explain what I found in the review. Thanks!
@rpitingolo