Is there a simple way of "uploading" a large coding sheet for human-coding of Twitter data to DiscoverText?

Follow

If I developed a relatively large coding sheet for human-coding of Twitter data, is there a simple way of "uploading" it to DiscoverText?  If not, which tutorial you think I may show my GRAs for them to program the coding categories in DiscoverText?

 

In terms of the code set, if you want multi-keystroke, hierarchical coding there is an interface for creating that inside DT, or you can upload an XML file:

 

The codeset is a plain-text XML file that contains the code definition hierarchy. Each code can have a keybinding associated with it as well as an attribute that tells if it is selectable or not. Codes can have multiple layers of child codes underneath.

 

The XML file structure is below as well as a sample codeset and the XML schema definition.

<codebook>

    <codes>

        <code key="x" selectable="true">

            The code text

            <codes>

                <code key="x" selectable="true">

                ...

            </codes>

        </code>

        ...

    </codes>

</codeset>

   

Sample Codeset:

<codebook>

    <codes>

        <code key="0" selectable="false">

            Top level code sample

            <codes>

                <code key="1" selectable="true">

                    Selectable code

                </code>

                <code key="5" selectable="true">

                    Another code

                </code>

            </codes>

        </code>

        <code key="1" selectable="true">

            A selectable top level code

        </code>

    </codes>

</codeset>

 

Xml Schema Definition:

<?xml version="1.0" encoding="us-ascii" ?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://discovertext.com" xmlns="http://discovertext.com">

 

    <xs:element name="codebook">

        <xs:complexType>

            <xs:sequence>

                <xs:element ref="code" minOccurs="0" maxOccurs="unbounded" />

            </xs:sequence>

            <xs:attribute name="name" type="xs:string" use="optional" />

        </xs:complexType>

    </xs:element>

 

    <xs:element name="code">

        <xs:complexType mixed="true">

            <xs:sequence>

                <xs:element ref="codes" minOccurs="0" maxOccurs="1" />

            </xs:sequence>

            <xs:attribute name="key" type="xs:string" use="optional" />

            <xs:attribute name="selectable" type="xs:boolean" use="optional" default="true" />

        </xs:complexType>

    </xs:element>

 

    <xs:element name="codes">

        <xs:complexType>

            <xs:sequence>

                <xs:element ref="code" minOccurs="0" maxOccurs="unbounded" />

            </xs:sequence>

        </xs:complexType>   

    </xs:element>

   

</xs:schema>

Have more questions? Submit a request

Comments

Powered by Zendesk