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

Hello,

I am needing to export the data recorded in my spreadsheet frame-by-frame, however I am only interested in exporting the codes for each variable, NOT the onset/offset and ordinal info. I am new to ruby and was hoping for some guidance in coming up with a script that would accomplish both of these tasks.

Thank you!

asked 07 Jun, 09:15

tcoheno's gravatar image

tcoheno
11224
accept rate: 0%


Take a look at this export script example/template from the sample scripts repository: https://github.com/databrary/Datavyu-Example-Scripts/blob/master/Export/ComboExport.rb

It should replicate the export from the dropdown menu in Datavyu if you put all the columns you want to print in the sequential_columns parameter (and leave parameters static_columns and nested_columns blank: %w() ).

permanent link

answered 07 Jun, 17:27

Shohan%20Hasan's gravatar image

Shohan Hasan ♦♦
381126
accept rate: 11%

Thanks so much! I was able to get it to export the columns I wanted, however now it isn't exporting frame by frame. Any advice?

(22 Jun, 11:19) tcoheno tcoheno's gravatar image

Oops, I forgot about the frame-by-frame requirement. I'll modify the example and put it up in the repository asap.

(26 Jun, 14:43) Shohan Hasan ♦♦ Shohan%20Hasan's gravatar image
1

Sorry about the delay— see this script which should mimic the current Export By Frame functionality in Datavyu but give you more control over which columns/codes are exported:

https://github.com/databrary/Datavyu-Example-Scripts/blob/master/Export/ExportFileByFrame.rb

(27 Jun, 22:56) Shohan Hasan ♦♦ Shohan%20Hasan'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:

×46
×24
×7
×6

question asked: 07 Jun, 09:15

question was seen: 765 times

last updated: 27 Jun, 22:57

powered by OSQA