Announcing the new Datavyu v1.3.6 with enhanced features and transcription support!

I'm trying to measure inter-rater reliability between two independent sets of coding on the same variable. As of now, they are both on different spreadsheets and I want to be able to move them onto one spreadsheet in order to compare them. How do I go about linking the two sets of data in order to compare them?

asked 31 Oct '13, 17:38

ugraksw's gravatar image

ugraksw
1445
accept rate: 0%


Sounds like transfer_columns is what you're looking for - it transfers a specific column from one spreadsheet to another.

Simply define a source file (samplesource.opf in the example) and a destination file (sampledestination.opf) and fill them into the first and the second parameters of transfer_columns (see third line in the example). The third parameter (it's set to false in the example) tells Datavyu to either remove the variable in the source file (true), or keep it (false). Fill in the name of your variable in the fourth parameter.

filepathFrom = File.expand_path("~/Desktop/samplesource.opf")
    filepathTo = File.expand_path("~/Desktop/sampledestination.opf")
    transfer_columns(filepathFrom, filepathTo, false, "thevariable")

Hope it helps.

permanent link

answered 03 Nov '13, 20:49

GladysChan's gravatar image

GladysChan ♦♦
164116
accept rate: 0%

How do I specify which column I want to transfer over in the spreadsheet? Whenever I try to use the script you gave me I get this error:

** SCRIPT ERRROR ** @Line -1:'org.jruby.exceptions.RaiseException: <script>:1: , unexpected null

{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf510 ^'

Appreciate the help!

permanent link

answered 04 Nov '13, 20:02

ugraksw's gravatar image

ugraksw
1445
accept rate: 0%

The fourth parameter in the third line defines the name of the column that you are transferring. Just put the name of the column inside the quotation marks. If you're still getting an error, can you upload your script and the files that you're trying to work with?

permanent link

answered 06 Nov '13, 18:16

david's gravatar image

david ♦
143235
accept rate: 4%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×13
×10
×7
×3
×2

question asked: 31 Oct '13, 17:38

question was seen: 4,117 times

last updated: 06 Nov '13, 18:16

powered by OSQA