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

Our setup involves 2 children playing together. For a given dataset, we plan to code various behaviors (movement, attention, verbalization) in adjacent columns within one opf file in OPENSHAPA for the 2 children. We would like to code each pair of kids in a separate opf file and then combine the data across all pairs of children later using Matlab. Is it okay to do this? We are not at the point of creating our own scripts so we don't know if this would be a problem when running the scripts. We don't mind getting the raw data in a text format for each child (start and end times and the assigned behavioral code, a, r, l, etc for each column). We would read it into Matlab programs for further data analysis (because we are good at matlab programming). Is it possible to access the raw data (start and end times of all columns from the outputted txt file)?

asked 21 Jan '12, 08:07

Sudha's gravatar image

Sudha
31113
accept rate: 0%


There's a quick-and-dirty way and a not-so-quick but very elegant way to do it. Either way, the key thing is to make sure you have something in your exported data that will let you link up data from the separate files (like an id number or something).

  1. OpenSHAPA features a "save as" function that will save your raw data (the start/end times of every cell with the enclosed information) as a .csv file. Go to File > Save As and switch from .opf to .csv. This is your raw data. It won't be in the perfect format for importing to Matlab, but you can make it work.

  2. The Ruby scripting language allows you to export the data in any text format that you would like and gives you much more flexibility. Information about the scripting language is here. We often write data to .csv files using scripts that are already in a format that Matlab's csvread() function can pull directly into a matrix.

The other way you could do it is code both children in the same .opf file, and just have each kid in a column. This is what I would recommend, because you will be able to see the data from both children side by side while coding and exploring the data set. Everything you can do with exporting separate files also applies to exporting separate columns.

permanent link

answered 21 Jan '12, 09:40

JohnFranchak's gravatar image

JohnFranchak ♦
3964410
accept rate: 17%

Thanks a lot John for the prompt reply! This solves our problem! Thanks again!

(22 Jan '12, 12:20) Sudha Sudha's gravatar image

Hi Sudha, Thanks for your awesome question! You can use the up thumb on the left to vote answers as helpful and the tick to mark answers that correctly solve your problem... I have done this for you this time round, but you can do this with any question and answer - it makes it quicker for others to discover the information they are looking for if they have similar questions as yourself.

(25 Jan '12, 14:03) Clinton Clinton's gravatar image
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:

×3

question asked: 21 Jan '12, 08:07

question was seen: 2,960 times

last updated: 25 Jan '12, 14:03

powered by OSQA