-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very long party abbreviation #25
Comments
Well the best you could do to make it still accurate is "HDZ1990-HSP" That On Thu, Sep 4, 2014 at 8:19 PM, Drew Bollinger [email protected]
|
There were many party entries that didn't seem especially legibly abbreviate-able, and I believe the default in the processing was to just put the full party name into the abbreviation field. |
Thanks @darkobrkan, that works. The only other one I found that causes issues is "NSRZ, KSPP, E-5 I LDS - ZZUSK" for NS R ZA BOLJITAK, KSPP, E-5 I LDS - ZAJEDNO ZA USK. Can someone change this in the database as well? Thanks all for the input |
Here is a list of longest abbreviations, sorted by string length (it's a quick thing I've done, so it counts the strings by bytes, not actual length in the encoding):
I hope it helps. |
@informationchef is right - some of them were not abbreviated. Also some are multi-party coalitions. This makes stuff really hard. But it's bosnia right - did you think this was easy? |
Some of them are independent candidates with their full names and names of On Tue, Sep 9, 2014 at 10:49 AM, Michael Bauer [email protected]
|
Luckily the other ones mentioned by @maciej don't actually appear as any of the winners (I think). If we can get 'NS R ZA BOLJITAK, KSPP, E-5 I LDS - ZAJEDNO ZA USK' shortened we should be in business from a display standpoint |
We could use probably just "Zajedno za USK" in this case, as far as I am On Tue, Sep 9, 2014 at 3:48 PM, Drew Bollinger [email protected]
|
Party abbreviations are pulled in from the prepared data CSVs. |
This seems like something we'll want repeatable for the viewability of the upcoming election data. I'm happy to add an "abbreviations" permanent table and a quick script job post-load that applies known additional abbreviations to any loaded data that includes these two party abbreviations to start, and we can add others that impact the visual site as-needed? |
@darkobrkan
Looks like the party, HRVATSKA KOALICIJA HDZ 1990 - HSP BIH , is being abbreviated as "HK HDZ 1990 - HSP BIH". Is there any way we can shorten that to save some screen real-estate? Maybe to HDZ 1990?
The text was updated successfully, but these errors were encountered: