Comments (5)
@j-ro interesting idea
I'm not so much a fan of that syntax (cd:0
), but something like state:vt/cd:at-large
might be OK. It could be defined as an alias.
I'm torn on this, since they should represent geographical divisions, not political ones necessarily.
How does this make it harder to process? I guess I'm not seeing where this would break stuff, unless you're using the local-part slugs for something (rather then the post.id
)
from ocd-division-ids.
at-large
works for my use case, sure
The way I understand it, right now there are a ton of OCD-IDs that represent both political and geographic areas, like ocd-division/country:us/state:nc/cd:2
or ocd-division/country:us/state:nc/sldu:1
, etc...
This is pretty much the same -- there's still such thing as Vermont's congressional district, it just happens that this geographic boundary is the same as the state's boundary. That may not always be true, given redistricting, but it is now. So a separate OCD ID I could see as semantically appropriate.
from ocd-division-ids.
Oh, and on your processing note...
There are effects in other systems where this becomes harder.
For example, Google's Civic API uses ODC IDs. So, if I want to compile a list of all members of congress (which is what we're doing), I send it all the OCD IDs from all congressional districts and it sends me back just the elected officials that match those districts. Except, for at-large districts, I have to send whole states, which means Google gives me back all kinds of elected officials beyond the ones I care about, and I now have to filter carefully, sometimes using natural language.
Basically, it turns all at-large districts into edge cases that have to be handled differently, whereas if this were just another district, I could handle it the same way.
from ocd-division-ids.
And yes, we are parsing the ID as well, to do matching -- so we know member from district 1 from the sunlight API matches the elected official we get for cd:1, but we can't necessarily say the same for district 0 because many people match to state:vt
from ocd-division-ids.
state:vt/cd:at-large
makes sense to me in terms of having a complete set of congressional districts under the cd
type.
However, at the local government level, there can be dozens of at-large councillors, which requires special handling/logic anyway. In that case, I don't see the value in having an at-large alias.
from ocd-division-ids.
Related Issues (20)
- Update/establish best practices for OCD-ID types across countries HOT 2
- Add [me] as an official contributor/reviewer HOT 4
- Incorrect Country Code used for United Kingdom HOT 17
- Creating distinct properties for canonicalization and labeling coterminous districts HOT 2
- Documentation of usage in civil society? HOT 2
- us:prosecutor ocd-division ids HOT 6
- Missing census codes for US County-Equivalents
- Utqiagvik, Alaska HOT 1
- OCD Division IDs in Wikidata HOT 5
- Utilize Wikipedia permalinks when used as ref/source HOT 4
- Missing Jammu and Kashmir (JK) AC's in Vidhan Sabha in India HOT 5
- Fix Validator spreadsheet HOT 1
- how to add Yukon territorial electoral district ocdids?
- Docs site is down HOT 5
- How do you make UIDs in ocd-id's consistent? HOT 1
- Nunavut Legislative Assembly / Provinical Ridings?
- Using district names in Canadian Federal Electoral District OCD-IDs HOT 18
- Improve support for division names in multiple languages
- missing census_geoid
- Global Reviewer Request HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocd-division-ids.