-
Notifications
You must be signed in to change notification settings - Fork 13
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
Split out metadata taxonomies #14
Comments
Excellent. We are planning to have much of this stuff in data package format (https://github.com/openspending/next/issues/10) and/or to build an api around such data. Are you thinking in terms of exposing this as a python lib, ala https://pypi.python.org/pypi/pycountry and https://github.com/tryggvib/economics? Also, we want to have a structure specifically for declaring governing bodies (as per the note here), but I wouldn't want to enforce data packages/spend data to be government specific. Note sure how to best go about that right now. |
Yep, I think a Python package would be perfect. As for government bodies, I wonder if there's something that can be re-used from the IATI Organisation Identifier side of the world. Perhaps @markbrough can tell us how useful that has been in the past. |
How about https://github.com/opencivicdata/ocd-division-ids I was looking into it for use on previous projects. |
BTW, that Makefile idea is good, I could use that in other scenarios too. |
@pudo, re IATI org IDs for public bodies, this is currently mostly limited to organisations on an OECD DAC code list. IATI also maintains its own code list of organisations but that is mostly just created on demand by a new publisher to have some way to refer to themselves if they're not on the OECD DAC list. Private sector / NGOs are handled differently. I think a decent way forward would probably be to use the administrative classifications countries use in their own budgets (which at least contain a code for each ministry, sometimes departments within that ministry, and sometimes parastatals). Need to flesh that idea out a bit though... |
Ok, I'm starting a repo at https://github.com/pudo/fiscalmodel - will probably move over the contents of @pwalsh thanks for the link to opencivicdata - that looks very useful indeed! The Makefile approach comes from d3's Mike Bostock. @markbrough Good idea, would love to hear more :) I can also imagine mining GADM or NaturalEarth for a rough cut list of second- and third-level administrative units, which might just be good enough for our ends? |
At the moment,
spendb
contains descriptors for metadata, such as a list of all countries, currencies, types of budgets etc. This should be moved to it's own package so that it can be re-used across spendb and OpenSpending Next.Refs #8, and How can we structure the datasets?
Proposed names:
fiscalmodel
spendmodel
(cc @pwalsh)
The text was updated successfully, but these errors were encountered: