[Loris-dev] Modifying Imported Data

Jordan Stirling, Mr jordan.stirling at mail.mcgill.ca
Tue Oct 10 13:37:05 EDT 2017


Hi Bonhwang,


At this point in time there is no easy way to do this because those names are so integrated on how data is fetched from the database. In order to change them you would have to modify the CouchDB_Import_Instrument.php script. That being said you're new names could not have spaces as that will break in trying to retrieve the fields associated the instrument. If you are fine with that I can guide you what you would have to do to modify the names displayed.


The ideal solution would be to modify the the entire module to use the names that are displayed in the timepoints module. This fix would be very tricky and time consuming because you would have to modify the React files on how they handle the data to the php code in how they return the data. This would be something that would be nice to add to the Core roadmap but I'm not sure where it would be placed. Hope this helps.


Thanks,


Jordan

________________________________
From: Bonhwang Koo <Bonhwang.Koo at childmind.org>
Sent: October 10, 2017 11:14:54 AM
To: Jordan Stirling, Mr; loris-dev at bic.mni.mcgill.ca
Subject: Re: Modifying Imported Data

Hi Jordan,

No problem. Yes, the names in the dropdown are the ones I’m trying to change.

Best,
--
Bonhwang Koo
Research Assistant, CDB
Child Mind Institute
childmind.org<http://childmind.org/>
445 Park Avenue (entrance on 56th Street)
New York, NY 10022
E: Bonhwang.Koo at childmind.org<mailto:Bonhwang.Koo at childmind.org>
p: 646.625.4398
f: 646.625.4348

Facebook: facebook.com/ChildMindInstitute<http://facebook.com/ChildMindInstitute> | Follow us on Twitter: twitter.com/ChildMindDotOrg<http://twitter.com/ChildMindDotOrg>

---

This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.

From: "Jordan Stirling, Mr" <jordan.stirling at mail.mcgill.ca>
Date: Thursday, October 5, 2017 at 3:10 PM
To: Bonhwang Koo <Bonhwang.Koo at childmind.org>, "loris-dev at bic.mni.mcgill.ca" <loris-dev at bic.mni.mcgill.ca>
Subject: Re: Modifying Imported Data


Hi Bonhwang,



Sorry for the tardy response. Are you talking about the instrument names which show up in the Define Fields instrument dropdown?



Thanks,



Jordan

________________________________
From: loris-dev-bounces at bic.mni.mcgill.ca <loris-dev-bounces at bic.mni.mcgill.ca> on behalf of Bonhwang Koo <Bonhwang.Koo at childmind.org>
Sent: September 20, 2017 5:26:44 PM
To: loris-dev at bic.mni.mcgill.ca
Subject: [Loris-dev] Modifying Imported Data

Hi again,

For our study, I imported the data into CouchDB using a customized script similar to tools/CouchDB_Import_Instruments.php. We’re considering changing the name of one of our instruments because of confusion among our users. Is there a way to do this other than changing the name manually for the data dictionary and each entry on Futon?

Best,
--
Bonhwang Koo
Research Assistant, CDB
Child Mind Institute
childmind.org<http://childmind.org/>
445 Park Avenue (entrance on 56th Street)
New York, NY 10022
E: Bonhwang.Koo at childmind.org<mailto:Bonhwang.Koo at childmind.org>
p: 646.625.4398
f: 646.625.4348

Facebook: facebook.com/ChildMindInstitute<http://facebook.com/ChildMindInstitute> | Follow us on Twitter: twitter.com/ChildMindDotOrg<http://twitter.com/ChildMindDotOrg>

---

This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20171010/d7b4b2bb/attachment.html>


More information about the Loris-dev mailing list