[ckan-dev] ckanext-scheming vs tag vocabularies

Ian Ward ian at excess.org
Thu Dec 8 14:30:08 UTC 2016


Maybe download your vocabularies to a file in your extension so you
can track changes with source control? Or you could store them as a
datastore table attached to a resource (this doesn't give you history
though)

CKAN's built in tag vocabularies can't be extended without mucking
with your database schema, so it's not an approach I'd choose.

On Thu, Dec 8, 2016 at 9:25 AM, Armin Retterath
<armin.retterath at gmail.com> wrote:
> hi ian,
>
> thanx for the info. i will think about it. my idea was to use the uri from
> skos files as identifiers in combination with caching the skos files
> themselves in the postgres database (for the case that uris get lost :-( ).
> but there is the problem, that skos has no defined history concept - maybe
> it will come somewhen:
>
> https://github.com/jneubert/skos-history/
>
> best regards
> armin
>
>
> 2016-12-08 14:51 GMT+01:00 Ian Ward <ian at excess.org>:
>>
>> Hello Armin,
>>
>> I use scheming multiple-choice fields because my controlled
>> vocabularies are very tied to my metadata schemas (and I want
>> multilingual labels). Scheming also lets me take those choices from a
>> datastore table, an external skos file or anything you can access from
>> a helper function. It doesn't mirror the vocabulary in postgres
>> because that hasn't been required.
>>
>> On Tue, Dec 6, 2016 at 5:24 AM, Armin Retterath
>> <armin.retterath at gmail.com> wrote:
>> > hi together,
>> >
>> > if you want to define custom categories, the two different options
>> > "ckanext-scheming with choices" and "tag vocabularies" are possible. is
>> > there an idea to merge them into one concept? maybe to use links to
>> > distributed skos files (maybe also multilingual) in the json-schema
>> > alternative to define the choices by hand? or maybe the choices array
>> > will
>> > be automatically be transformed in a tag vocabulary in the postgres
>> > database?
>> >
>> > best regards from germany
>> > armin
>> >
>> > _______________________________________________
>> > ckan-dev mailing list
>> > ckan-dev at lists.okfn.org
>> > https://lists.okfn.org/mailman/listinfo/ckan-dev
>> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>> >
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>



More information about the ckan-dev mailing list