Advanced

Re: GC53G0K - All The Presidents Men - Counties

[Resolved] GC53G0K - All The Presidents Men - Counties
August 22, 2016 04:12PM
Request that a Checker be made for our existing Challenge " MaxB's All the Presidents Men". This requires finds in US counties named the same as 10 different US Presidents. (Cache description clarifies criteria) Only 1 county per US President. (I.e. although there are 31 States with a "Washington" county. only 1 can be used for challenge.) Exception is for instances where there were two presidents with same name (Adams, Johnson, Roosevelt, Harrison, Bush). Then finds in two different US counties with that name can be used. (Although there are several counties named "Jefferson Davis", these do not count for our challenge.

If needed we can supply a list of Presidents with counties named the same.

Thank you for your help on this.
Warren & Maxine Brown
Re: GC53G0K - All The Presidents Men - Counties
August 22, 2016 11:05PM
This requires a script specially writen for this challenge.
I tried using an existing script but I'm running out of config space.
Re: GC53G0K - All The Presidents Men - Counties
August 22, 2016 11:13PM
Thank you

Does this mean a checker cannot be written? or just not by you? or it will take longer to get developed?
Re: GC53G0K - All The Presidents Men - Counties
August 22, 2016 11:17PM
A script writer has to devote time to write a special script but I doubt it will be done in the near future
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 03:53PM
I am going to take a look at this. No promises but worth a look.

@maxb can you provide a list of names with counts for the presidents?
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 05:30PM
Yes - We have a excel spreadsheet with each of the presidents and states with corresponding county. Not sure how to send you and attachment. If you want to provide an email address, we can send it to you.

Thank you for looking at this.

Warren & Maxine Brown
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 08:35PM
Can you just cut and paste it as a csv to the forum? It should only be about 40 or 50 lines.
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 09:02PM
Here is the cvs format:

President Last name, # of states, each State abbreviation
Washington, 31, AL, AR, CO, FL, GA, ID, IL, IN, IA, KS, KY, LA, ME, MD, MN, MS, MO, NE, NY, NC, OH, OK, OR, PA, RI, TN, TX, UT, VT, VA, WI
Adams, 12, CO, ID, IL, IN, IA, MS, NE, ND, OH, PA, WA, WI
Jefferson, 26, AL, AR, CO, FL, GA, ID, IL, IN, IA, KS, KY, LA, MS, MO, MT, NE, NY, OH, OK, OR, PA, TN, TX, WA, WV, WI
Madison, 20, AL, AR, FL, GA, ID, IL, IN, IA, KY, LA, MS, MO, MT, NE, NY, NC, OH, TN, TX, VA
Monroe, 17, AL, AR, FL, GA, IL, IN, IA, KY, MI, MS, MO, NY, OH, PA, TN, WV, WI
Adams, 12, CO, ID, IL, IN, IA, MS, NE, ND, OH, PA, WA, WI
Jackson, 24, AL, AR, CO, FL, GA, IL, IN, IA, KS, KY, LA, MI, MN, MS, MO, NC, OH, OK, OR, SD, TN, TX, WV, WI
Van Buren, 4, AR, IA, MI, TN
Harrison, 8, IN, IA, KY, MS, MO, OH, TX, WV
Tyler, 2, TX, WV
Polk, 12, AR, FL, GA, IA, MN, MO, NE, NC, OR, TN, TX, WI
Taylor, 7, FL, GA, IA, KY, TX, WV, WI
Fillmore, 2, MN, NE
Pierce, 5, GA, NE, ND, WA, WI
Buchanan, 3, IA, MO, VA
Lincoln, 24, AR, CO, GA, ID, KS, KY, LA, ME, MN, MS, MO, MT, NE, NV, NM, NC, OK, OR, SD, TN, WA, WV, WI, WY
Johnson, 12, AR, GA, IL, IN, IA, KS, KY, MO, NE, TN, TX, WY
Grant, 15, AR, IN, KS, KY, LA, MN, NE, NM, ND, OK, OR, SD, WA, WV, WI
Hayes, 1, NE
Garfield, 6, CO, MT, NE, OK, UT, WA
Arthur, 1, NE
Cleveland, 3, AR, NC, OK
Harrison, 8, IN, IA, KY, MS, MO, OH, TX, WV
McKinley, 1, NM
Roosevelt, 2, MT, NM
Wilson, 4, KS, NC, TN, TX
Harding, 2, NM, SD
Roosevelt, 2, MT, NM
Johnson, 12, AR, GA, IL, IN, IA, KS, KY, MO, NE, TN, TX, WY
Ford, 2, IL, KS
Carter, 5, KY, MO, MT, OK, TN
Reagan, 1, TX
Clinton, 9, IL, IN, IA, KY, MI, MO, NY, OH, PA

Please take into account the following:
1. you can only use a state county per president 1 time except for the following:
Adams
Harrison
Johnson
Roosevelt
2. This may change after next weeks election if Hillary Clinton wins, then there would be 2 states allowed for Clinton. There are no Trump counties.

If you need something different or have questions let us know. Thanks for taking the time to review this.

Warren & Maxine Brown
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 09:25PM
Why no bush 2?
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 09:06PM
Never mind the request. You can proofread the tag.

http://project-gc.com/Challenges/GC53G0K/23227

Please let me know what you think.
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 09:29PM
Sorry we cross posted. I got the script and tag out just after you released the info.

Thanks for the info. I found a bug in harrison. Please kick the tires and get back to me.
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 09:48PM
Wow ! you are very quick. We ran a number of folks who have complete the challenge through and all looks right, except the "Harrisonburg City" VA. If you haven't already done so, you will need to exclude the "Jefferson Davis" counties. I didn't notice any in reviewing, but those Louisiana "Parishes" should qualify just as counties do.

Thank you for your efforts.
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 09:58PM
Can you please let me know who triggered harrisonburg city so I can test with it?
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 10:02PM
It showed up on our profile check. Also, we didn't mention but we really like the output content and format. Thanks
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 10:05PM
The parishes should work fine. The code just matches the first word in the string in the country field.

I changed the match to have a space after the presidents name so the harrisonburg situation should not occur again.

Thanks for the feedback.
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 10:11PM
We are very pleased. What started a few short hours ago as a "No Promises" offer, came together in a fantastic fashion.

Thanks for all your efforts.
Re: GC53G0K - All The Presidents Men - Counties
October 28, 2016 10:14PM
You're welcome. You have some neat county based challenges. I'm glad I could help.
Sorry, only registered users may post in this forum.

Click here to login