gsk3 / taRifx.geo

taRifx.geo package for R, available on CRAN
9 stars 8 forks source link

potential patch #4

Open ajdamico opened 9 years ago

ajdamico commented 9 years ago

i believe my stackoverflow scenario hit a wall because my for loop named each of the bound objects d and the fixIDs function automatically fixes an invalid ID by adding the object name on the front. so the loop worked the first few times, but eventually a duplicated ID was re-named to another ID that had been previously-de-duplicated.

this patch simply continues looping until all duplicates are confirmed to be gone

i moved the broken_IDs thing out of the if-else block, but i'm not sure if that will cause other problems?

http://stackoverflow.com/questions/26357580/how-to-combine-state-level-shapefiles-from-the-united-states-census-bureau-into