[DDI-SRG] SummaryStatistic and external code list for this purpose?
Wendy Thomas
wlt at pop.umn.edu
Mon Dec 8 11:03:23 EST 2008
SummaryStatistic type="SummaryStatisticType"
SummaryStatisticType contains
SummaryStatisticType which is r:CodeValueType
SummaryStatisticTypeCodedType is a substitution for SummaryStatisticType
and is a restricted R:CodeValueType
Sooooo if you use SummaryStatisticType rather than
SummaryStatisticTypeCodeType you are valid with using a genericode urn or
LocationURI in the codeListID, but it does not validate the content
Wendy
On Mon, 8 Dec 2008, Joachim Wackerow wrote:
> OK.
> I agree completely. We should make a review what to define as genericode and
> we should make sure that external code can be used.
>
> SummaryStatisticType is of type r:CodeValueType (which should be the
> genericode way and allow an external list).
>
> Achim
>
> Wendy Thomas wrote:
>> Achim,
>>
>> There was not a complete consistant review of what should be internal and
>> what should be external. In short, if we've provided something internal you
>> are supposed to use it. This means we need to review this carefully. It is
>> why I sent Ken and his committee a listing of the following:
>>
>> What codes are defined internally
>> What locations allow option for controlled vocabulary (genericde)
>> What locations allow only a string and need to be reviewed for optional use
>> of controlled vocabulary (genericode)
>>
>> I believe the list was also copied to TIC but I will verify.
>>
>> I will put this on Thursday's agenda.
>>
>> Wendy
>>
>>
>> On Mon, 8 Dec 2008, Joachim Wackerow wrote:
>>
>>> Wendy,
>>>
>>> SummaryStatistic is just an example for me. I would like to explore the
>>> possibility of using an external genericode list. So my question is
>>> general. At which elements you have the option of using an internal and
>>> external list?
>>>
>>> re: SummaryStatistic, why should this be restricted to an internal
>>> definition? It can make sense to define an own list to which the instance
>>> should be validated to. otherValue seems to be a poor choice.
>>>
>>> The option of using an internal and external lsit should also exist for
>>> IsoCountryCodeType (probably for others as well). This way DDI can be used
>>> independently from a changing country list. (IsoCountryCodeType is not
>>> defined as genericode). A genericode ISO country list see:
>>> http://docs.oasis-open.org/ubl/os-UBL-2.0/cl/gc/default/CountryIdentificationCode-2.0.gc
>>>
>>> Achim
>>>
>>> Wendy Thomas wrote:
>>>> Achim
>>>>
>>>> In this case SummaryStatisticTypeCoded you don't have the option of using
>>>> and external. We restricted it to an internal list. At least this is my
>>>> understanding. You can use a value of UseOther and supply it in the
>>>> otherValue attribute but you can't say where it is from.
>>>>
>>>> If I am misreading your problem and causing you frustration just mentally
>>>> smack me on the head and ignore me :)
>>>>
>>>> Wendy
>>>>
>>>>
>>>> On Mon, 8 Dec 2008, Joachim Wackerow wrote:
>>>>
>>>>> I don't understand how to use an external code list stored in a file
>>>>> according to Genericode.
>>>>>
>>>>> I'm exploring the possibility to use an external code list for
>>>>> SummaryStatistic in physicalinstance. How can the file be referenced by
>>>>> an URI or URN? I'm confused.
>>>>>
>>>>> SummaryStatisticType is of type r:CodeValueType.
>>>>> SummaryStatisticTypeCoded is a substitutionGroup of SummaryStatistic. In
>>>>> the instance SummaryStatisticTypeCoded is a child of SummaryStatistic.
>>>>>
>>>>> Attached is a basic valid DDI instance with SummaryStatisticTypeCoded
>>>>> and a valid genericode instance with new measures.
>>>>>
>>>>> --
>>>>> GESIS - Leibniz Institute for the Social Sciences
>>>>> Postal address: P.O. Box 122155, 68072 Mannheim, Germany
>>>>> Visiting address: B2 1, 68159 Mannheim, Germany
>>>>> Phone: +49 (0)621 1246 262
>>>>> Fax: +49 (0)621 1246 100
>>>>> E-mail: joachim.wackerow at gesis.org
>>>>> www.gesis.org/en/institute/
>>>>>
>>>>
>>>> Wendy L. Thomas Phone: +1 612.624.4389
>>>> Data Access Core Director Fax: +1 612.626.8375
>>>> Minnesota Population Center Email: wlt at pop.umn.edu
>>>> University of Minnesota
>>>> 50 Willey Hall
>>>> 225 19th Avenue South
>>>> Minneapolis, MN 55455
>>>
>>>
>>> --
>>> GESIS - Leibniz Institute for the Social Sciences
>>> Postal address: P.O. Box 122155, 68072 Mannheim, Germany
>>> Visiting address: B2 1, 68159 Mannheim, Germany
>>> Phone: +49 (0)621 1246 262
>>> Fax: +49 (0)621 1246 100
>>> E-mail: joachim.wackerow at gesis.org
>>> www.gesis.org/en/institute/
>>>
>>
>> Wendy L. Thomas Phone: +1 612.624.4389
>> Data Access Core Director Fax: +1 612.626.8375
>> Minnesota Population Center Email: wlt at pop.umn.edu
>> University of Minnesota
>> 50 Willey Hall
>> 225 19th Avenue South
>> Minneapolis, MN 55455
>
Wendy L. Thomas Phone: +1 612.624.4389
Data Access Core Director Fax: +1 612.626.8375
Minnesota Population Center Email: wlt at pop.umn.edu
University of Minnesota
50 Willey Hall
225 19th Avenue South
Minneapolis, MN 55455
More information about the DDI-SRG
mailing list