Cloudlog icon indicating copy to clipboard operation
Cloudlog copied to clipboard

US Counties filtering

Open ofadam opened this issue 3 years ago • 2 comments

On the US Counties page under Awards, I've noticed that things can get messy depending on the source ADIF imports to Cloudlog:

Screen Shot 2022-01-02 at 11 12 37 PM

Some (like Gridtracker) use the "XX, County" format (where XX = state abbreviation.) Other software (like Log4OM) seem to just use the county.

Although I believe the ADIF spec asks for the "XX, County" format, would it be possible to have some filtering happen to basically combine both formats and ignore any upper-case/lower-case differences?

(From ADIF spec: CNTY | US County in the format STATE,COUNTY. For example GA,BARROW)

ofadam avatar Jan 03 '22 05:01 ofadam

I see your problem, but I don't know how this can easily be fixed. I followed the ADIF spec when adding auto-complete for counties, and saving/editing them. Anyone having any ideas, please feel free to pitch in.

AndreasK79 avatar Jan 05 '22 17:01 AndreasK79

Could some filtering be used before tabulating this stats page?

Would need to do the following:

  • Ignore case sensitivity entirely
  • Remove "XX," or "XX, " (with space after comma)

That should fix things up, I think?

ofadam avatar Oct 04 '22 21:10 ofadam