Actions

Translations

Tab Separated Value survey structure/15/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "アンケートを作成するうえで便利な方法がいくつかあります。 #'''多くの質問に対して同じ回答を使用する'''。'A'の行をコピーし...")
 
No edit summary
 
Line 6: Line 6:
#'''アンケートモジュールのテスト'''.  長いアンケートでは、モジュールに分割してテストすることができます。モジュールごとに新しいスプレッドシートファイルを作成し、必要のない行を削除するだけです。これにより、アンケートの後の方のセクションをテストする、多くのデータを入力する必要がなくなります。
#'''アンケートモジュールのテスト'''.  長いアンケートでは、モジュールに分割してテストすることができます。モジュールごとに新しいスプレッドシートファイルを作成し、必要のない行を削除するだけです。これにより、アンケートの後の方のセクションをテストする、多くのデータを入力する必要がなくなります。
#'''必須の質問のテスト'''。多くの質問を必須にする必要があるものの、テストのために必須機能をオフにしたい場合があります。必要なものを必須の設定にしてマスタースプレッドシートを作成するだけです。次に、テストするため、"必須"列を削除し、スプレッドシートのテスト版を保存します。そのバージョンをインポートすれば、質問は必須ではなくなります。テストが終了したら、マスターの方をインポートします。
#'''必須の質問のテスト'''。多くの質問を必須にする必要があるものの、テストのために必須機能をオフにしたい場合があります。必要なものを必須の設定にしてマスタースプレッドシートを作成するだけです。次に、テストするため、"必須"列を削除し、スプレッドシートのテスト版を保存します。そのバージョンをインポートすれば、質問は必須ではなくなります。テストが終了したら、マスターの方をインポートします。
#'''既定値設定'''。GUIを使用するのではなく、既定値の列に任意の既定値を入力します。これは、リスト項目の既定値を設定する式(トークン属性からリストを設定するなど)のように、GUIで目的の値を入力できない場合に特に役立ちます。
#'''既定値設定'''。GUIを使用するのではなく、既定値の列に任意の既定値を入力します。これは、リスト項目の既定値を設定する[[ExpressionScript - Presentation/ja|式]]([[Survey participants/ja|アンケート参加者]]属性からリストを設定するなど)のように、GUIで目的の値を入力できない場合に特に役立ちます。
#'''翻訳'''。スプレッドシートのコピーを言語ごとに1つ作成します。基本言語のすべての行を含め、その下にコピー&ペーストし、ドラッグを使用して言語フィールドを目的の言語に変更します。これらを翻訳者に配布し、完了したら1つのスプレッドシートファイルに再統合します。
#'''翻訳'''。スプレッドシートのコピーを言語ごとに1つ作成します。基本言語のすべての行を含め、その下にコピー&ペーストし、ドラッグを使用して言語フィールドを目的の言語に変更します。これらを翻訳者に配布し、完了したら1つのスプレッドシートファイルに再統合します。
#'''高度な質問属性の一括設定'''。すべての式が表示されるようにし(つまり、データを収集するときにその値を見ることができる)、公開時にこれらをすべて非表示にしたい場合があります。これは、スプレッドシート上でクラス='Q'と質問タイプ='*'(式)でフィルタリングし、質問ごとにalways_hideを1に設定します。同様に、アンケートを作成した後、公開統計にどの質問を表示するかを決定します。GUIで各質問を編集するのではなく、class='Q'でフィルターをかけ、統計に表示する必要のあるすべての質問に対してpublic_statistics=1を設定します。
#'''高度な質問属性の一括設定'''。すべての式が表示されるようにし(つまり、データを収集するときにその値を見ることができる)、公開時にこれらをすべて非表示にしたい場合があります。これは、スプレッドシート上でクラス='Q'と質問タイプ='*'(式)でフィルタリングし、質問ごとにalways_hideを1に設定します。同様に、アンケートを作成した後、公開統計にどの質問を表示するかを決定します。GUIで各質問を編集するのではなく、class='Q'でフィルターをかけ、統計に表示する必要のあるすべての質問に対してpublic_statistics=1を設定します。

Latest revision as of 13:32, 22 May 2020

Message definition (Tab Separated Value survey structure)
Here are some convenient things you can do with this approach to authoring instruments:
#'''Use same Answers for many questions'''. Just copy the 'A' rows and paste after each question that should have the same set.
#'''Use same subquestions for many questions'''. Just copy the 'SQ' rows and paste them after each question that needs it.
#'''"Looping" - use same group many times'''. After the group is the way you want it, copy it as many times as needed. Use Excel filtering to view just the 'G' rows (for groups), and use the Excel column drag feature to update the relevance equations for each group (e.g., for a census, the first relevance might be "numPeople > 1", the next should be "numPeople > 2". The drag feature will auto-update the number). Filter by 'Q' rows and ensure that each question has a unique value (e.g., say you name your variables g1_q1, g1_q2, g1_qN, use find/replace to convert g1 to g2 the second group; g3 for the third, etc.).
#'''Re-ordering questions/groups'''. Simply re-order the rows of the spreadsheet file.
#'''Testing survey modules'''. For long surveys, you may want to break up the testing into modules. Simply create new spreadsheet files for each module, deleting any rows that you don't need. This avoids the need to enter lots of data to test later sections of the survey.
#'''Testing mandatory questions'''. A common complaint is not the need to make many questions mandatory, but the need to turn off the mandatory feature for testing. Simply create the master spreadsheet with mandatory set to the final desired values. Then, to test it, just delete the "mandatory" column and save the test version of the spreadsheet. When you import that version, none of the questions will be mandatory. After you have finished your testing, import the master copy.
#'''Setting defaults'''. Rather than using the GUI, you can enter any desired defaults in the default column. This is especially helpful for cases where the GUI does not let you enter the desired value, like [[ExpressionScript - Presentation|expressions]] to set the default for list items (like populating a list from a [[Survey participants|survey participant]] attribute).
#'''Translation'''. You can create copies of your spreadsheet - one per language. Include all the rows for the primary language, then copy and paste them below, and use drag to change the language field to the target language. These can be distributed to your translators, and re-integrated into a single spreadsheet file when they are done.
#'''Bulk setting of advanced question attributes'''. You may want all of your equations to start visible (so you can see their values as you collect data), but then hide them all before going to production. Simply filter the spreadsheet on class = 'Q' and question type = '*' (equation), and set always_hide to 1 for each of those questions. Similarly, say after you create the survey, you decide which questions should appear in public statistics. Rather than edit each question through the GUI, filter on class = 'Q', and set public_statistics = 1 for all of the questions that should be visible in statistics.
#'''Find and replace'''. Say you decide you need to change some phrasing across all of your questions, you can use Excel find and replace to make those changes. Similarly, say you decide to do a bulk-renaming of your variables, find and replace can come to the rescue. If you need regular-expression based find and replace, you can select the desired column, copy to a text editor, do your find and replace, and paste the column back into the spreadsheet.
#'''Gaining approvals'''. If you are doing research, you may have an Institutional Review board who insists upon seeing the text of the questions. This may be a convenient way to share it.  Similarly for discussions with a client.
#'''Team consensus'''. If you are trying to get a group to agree upon the wording or appearance of a question or group, you can rapidly prototype / edit the spreadsheet, import it, and show the team (via question or group preview) exactly what the users will see.  That way you can get approval from the team before they leave the room rather than having to document requirements, build them, and get approval at future meetings.
#'''Upgrading from other survey formats'''. If your survey is in XML, Word, or other format, you can create a translation process to map them to this format. Although you could also try mapping to the .lss format, the advantage of this format is that it doesn't require you to keep track of foreign key relationships between groups, questions, subquestions, answers, and defaults.

アンケートを作成するうえで便利な方法がいくつかあります。

  1. 多くの質問に対して同じ回答を使用する。'A'の行をコピーし、同じ回答を使用する質問の後に貼り付けます。
  2. 多くの質問に対して同じサブ質問を使用する。'SQ'行をコピーして、それを必要とする質問の後に貼り付けます。
  3. "繰り返し" - 同じグループを複数回使用する。必要な回数だけグループをコピーしてください。Excelのフィルタリングを使用して(グループの)'G'行だけを表示し、Excel列のドラッグ機能を使用して各グループの出現条件の式を更新します(例:国勢調査では、最初の出現条件は"numPeople>1"、次は"numPeople>2"とします。ドラッグ機能により数字を1つずつ増やしていきます)。'Q'行でフィルタリングし、各質問に固有の値があることを確認します(例:変数g1_q1、g1_q2、g1_qNの名前をつけ、g1をg2に、2番目のグループをg3に、g3を3番目にg3に変換します)。
  4. 質問/グループの並べ替え。スプレッドシートファイルの行を並べ替えるだけです。
  5. アンケートモジュールのテスト.  長いアンケートでは、モジュールに分割してテストすることができます。モジュールごとに新しいスプレッドシートファイルを作成し、必要のない行を削除するだけです。これにより、アンケートの後の方のセクションをテストする、多くのデータを入力する必要がなくなります。
  6. 必須の質問のテスト。多くの質問を必須にする必要があるものの、テストのために必須機能をオフにしたい場合があります。必要なものを必須の設定にしてマスタースプレッドシートを作成するだけです。次に、テストするため、"必須"列を削除し、スプレッドシートのテスト版を保存します。そのバージョンをインポートすれば、質問は必須ではなくなります。テストが終了したら、マスターの方をインポートします。
  7. 既定値設定。GUIを使用するのではなく、既定値の列に任意の既定値を入力します。これは、リスト項目の既定値を設定するアンケート参加者属性からリストを設定するなど)のように、GUIで目的の値を入力できない場合に特に役立ちます。
  8. 翻訳。スプレッドシートのコピーを言語ごとに1つ作成します。基本言語のすべての行を含め、その下にコピー&ペーストし、ドラッグを使用して言語フィールドを目的の言語に変更します。これらを翻訳者に配布し、完了したら1つのスプレッドシートファイルに再統合します。
  9. 高度な質問属性の一括設定。すべての式が表示されるようにし(つまり、データを収集するときにその値を見ることができる)、公開時にこれらをすべて非表示にしたい場合があります。これは、スプレッドシート上でクラス='Q'と質問タイプ='*'(式)でフィルタリングし、質問ごとにalways_hideを1に設定します。同様に、アンケートを作成した後、公開統計にどの質問を表示するかを決定します。GUIで各質問を編集するのではなく、class='Q'でフィルターをかけ、統計に表示する必要のあるすべての質問に対してpublic_statistics=1を設定します。
  10. 検索して置換する。すべての質問の中でいくつかのフレーズを変更する必要がある場合、Excelの検索・置換を使用して変更することができます。同様に、変数の一括リネームを行う場合も、検索して置き換えれば可能です。正規表現ベースの検索・置換が必要な場合は、目的の列を選択してテキストエディタにコピーし、検索・置換し、スプレッドシートに列を戻します。
  11. 承認を得る。あなたが研究をしている場合、質問のテキストをレビューする委員会があるかもしれません。この目的で簡便に共有することができます。クライアントとの議論の場合も同様に使用できます。
  12. チームの同意。チーム内で質問やグループの表現や外見に同意を得る場合は、スプレッドシートをプロトタイプ化/編集し、インポートし、質問やグループのプレビューを行い、これを介してユーザーに提示される内容をチームメンバーに正確に見せることができます。そうすれば、要件を文書化して構築し、会議で承認するようなことは必要がなく、チームメンバーが会議室を後にする前にその場で承認を得ることができます。
  13. 他のアンケートフォーマットからのアップグレード。既存のアンケートがXML、Word、または他の形式である場合は、この形式にマップするための変換プロセスを作成することができます。.lss形式にマッピングすることもできますが、この形式の利点は、グループ、質問、サブ質問、回答、および既定値の間の外部キーの関係を追いかける必要がないことです。