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

I feel dumb asking this question, but...

Can you figure out what's wrong with my code? I'm trying to transfer a column (that I've called "marketing") from one database (CinnamonToastCrunch2) into another database (that I have open). I thought I copied from the template exactly, but I must be doing something wrong.

I've written the following script:

require 'Datavyu_API.rb'

begin

transfer_columns("C:/Users/Paradigm/Documents/Datavyu/CinnamonToastCrunch2.opf", "", false, "marketing")

end

I get a script completed successfully message after running that script, there's a little asterix next to the name of the file I have open indicating the file has been changed, but the column hasn't been added to the spreadsheet.

I've tried using transferVariable instead of transfer_columns, and the same thing happens. I've also tried including the setVariable method after the transfer_columns / transfer_Variable line, and that just generates an error message.

Additionally, is there a way for me to import the column from the other database while simultaneously renaming it? That is, can I do something like? columnNew = transfer_columns(etc...)

Thanks in advance for your help!!

asked 22 Apr '14, 00:45

LisaHurwitz's gravatar image

LisaHurwitz
31447
accept rate: 0%


I can't see anything overtly wrong with your script. Could you email me your script along with some files that you're trying to use? My email dmc566@nyu.edu.

permanent link

answered 25 Apr '14, 10:43

david's gravatar image

david ♦
143235
accept rate: 4%

I've taken a look at the script and can find nothing wrong with it. I tried several different fixes and couldn't get it to work in Datavyu. However, I was able to get it to work using OpenSHAPA. So it seems like there a slight difference in the APIs. I've let the Datavyu developers know of the issue and they should be working on it shortly.

Thanks for alerting us of it and good luck with your research!

permanent link

answered 28 Apr '14, 15:32

david's gravatar image

david ♦
143235
accept rate: 4%

Hi! Just wondering if this is currently working? In Datavyu 1.3.4, I tried to use this script and iterations of the same script (e.g., again swapping transfer_columns for transferVariable, using single ' instead of ", etc.). Not only is it not transferring my columns between databases, but it's deleting the column I'm trying to move, despite the fact I always write false or FALSE. I'd appreciate any help or insight!

permanent link

answered 29 Jun '16, 14:12

LisaHurwitz's gravatar image

LisaHurwitz
31447
accept rate: 0%

Sorry! I wrote a new question but solved the problem myself. User error.

permanent link

answered 29 Jun '16, 14:24

LisaHurwitz's gravatar image

LisaHurwitz
31447
accept rate: 0%

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:

×6
×1
×1
×1

question asked: 22 Apr '14, 00:45

question was seen: 2,911 times

last updated: 29 Jun '16, 14:24

powered by OSQA