How to get [qualtrics] to embed correct row of imported data - survey

I am running a panel survey on Qualtrics and want to embed subjects' responses from the first wave in the second wave (a separate survey, so within-survey piping isn't possible).
What I want to do is have subjects enter their survey ID at the start of the second wave, have Qualtrics look up that survey ID on an imported CSV file, and embed the first-wave responses from the row with the matching survey ID throughout the second wave.
Is this possible? I have several hundred subjects, so manually embedding data for each would be technically possible but very time-consuming.

Figured it out.
Using an authenticator, I can solicit the survey ID and match it to an uploaded Contact list containing the embedded data values. Loading the embedded data immediately after authentication ensures that all of the piping works properly.

Related

Replacing data entries based on ID and date from data set

I'm a teacher who manages a caseload of students who have yearly meetings. Each year their services, hours, supports, etc. change. We complete a survey on each student to record all this data on a single spreadsheet. I want to pull data from those submissions to replace the students' information with the most recently dated information in our caseload master report (Tab one). If no data is entered yet I want it to remain the same.
The first tab is what we use for reporting to our team and the IEP completion tab is where the survey data is imported. I tried some solutions such as VLOOKUP with some IF statements but I don't think that is the correct route to go.
I scrubbed the linked Google spreadsheet for confidentiality.
Assuming Student ID#/ID Number is a reliable unique index in a third sheet create a VLOOKUP of the ID Number's associated fields from Tab1. Fields not found will error, so wrap your VLOOKUP with IFERROR and an INDEX/MATCH (because the ID there is not in ColumnA) of the fields in Tab2.

Refresh filters when new data comes in

I have a Google Spreadsheet with multiple sheets. We paste a table of data into sheet1 and all the other sheets have filters based basically on the 'membernumber' value in one of the columns (so that the mass data that gets imported gets sorted by our individual members). We then want to send an email with an updated table for each individual member (so therefore my script will access each individual sheet and copy the filtered table of data to the email message body).
But my question is for one of the early parts of this script: How can I make my Apps Script automatically refresh the filters in all of our sheets after we've imported the new data in sheet1? Right now we go manually and click the filter icon and re-select the member's number, or 0 if they don't have data for that day. It's killing me.
I know apps script doesn't have an AutoFilter method, but maybe with the Sheet API I can refresh them? I think this may be the method I need to call.
Let's say I have a sheet, would I just write:
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("example");
sheet.updateFilterView({"fields": *}); //since I want to update all filters, all fields on each sheet
I really wish the Google sheets API had some examples!

(facebook like app) show post algorithm design

I making a mobile app similar to facebook as a college project. Problem I am facing is say if I have 25 users and 24 users posted something on the site of which user1 made the first post. Now say the 25th user logs in after two days. Initially I was showing the feeds in FIFO order. But if I keep using FIFO, 25th user wont be able to see the last post unless he has undergone all the previous posts first. Same situation in LIFO. If we scale up the app, the problem statement would be huge as there would be some feeds which will never be seen. So how do I tackle this?
I thought of distributing users into groups and show the feeds within the groups first, and then to the neighbouring group and so on.
PS: I am using meteorjs for building the app.
So I have distributed the users into groups. I have attached a tag with every feed saying user from which group posted it.
Now I sort the feeds according to date-time at which they were created. Then I group them according to their user groups. Then I sort the feeds according to the no.of views (sorting within the group only).
Now I keep the sorted data as a list. To show the feeds to the user, I am trying to use trees. Say a user belonging to group 4 logs in. So I would use the group 4 data as node and create a binary tree. Then I would show all the feeds in the head first, then do a bfs traversal to show the feeds on the leaves.
Is there any other better method to make sure that every feed is seen atleast once by any user
So what I could think of is that you can divide the users into groups firstly. Then show the feeds from the same group. But show only new feeds here. Then show the feeds from neighbouring groups and move on. Then show the old feeds in the same manner.

Ideas about designing a database based web app

I'm creating a web app for my client as a part of my schools final project.
It's a web app where users fill forms (surveys) and after forms are submitted,
values are saved in the database.
There are three types of users: admins, moderators and viewers. Admin's can see the
overview of filled forms, moderators will fill these forms and they also can make edits
to them and get the overview of the forms they've filled. We haven't discussed about the rights of viewers
at this point.
I'm using CodeIgniter as a framework of my project since it comes pretty handy when it comes to database
manipulation and forms. What would be the best way to implement this kind of situation? There are apprx.
4-5 forms (surveys) each moderator will fill. After they've filled them, they only can make edits to that particular form.
So one user can fill each form only once.
I've designed that each of the forms needs one table. So if there is a form (survey) about IT equipment, I will create
a table for IT equipment. User's id number will be saved in to the last column in the table, usually called "user_ID" where I can
make queries based on users and check if user is already filled the particular form.
What about controllers and models? I've thought I could only make one model for inserting and editing the form.
However, is it pretty much the only way to create a controller or method foreach form since there are different types
of form fields to validate based on the form user is actually filling. I've already created a controller for inserting and updating
the IT equipment form and both of these methods are pretty big when it comes to the amount of code, over 200 lines per method.
So that would be a total amount of 2000 lines of code just for inserting and editing all the forms.
What'd you do and how you'd implement this if dealing with similiar kind of project?
Thanks in advance for all the ideas and point of views!
You should take a look into this:
http://cibonfire.com/
It's a really good addon for codeigniter, that allows you to data oriented development.

Orchard CMS: Linking Users with Content Types or Profile Data

I installed the profile module http://orchardprofile.codeplex.com/ but I am wondering what's the best way to implement the following:
Let users track "BMI" via profile. User enters BMI (body mass index) via their profile and the values will be saved. A graph will be shown illustrating the saved values over a period of time.
This is just an example. I am wondering what's the best way to do this sort of thing...
As a supplementary question, is it possible to create a new content type and then "link" that to a particular user?
Thanks.
To store the values over time, you should probably create your own part and have it store a list of records, each of which should have a date and a BMI value. See http://docs.orchardproject.net/Documentation/Creating-1-n-and-n-n-relations for a description of the work required to establish relationships.
Linking content items can be done easily in 1.5 using the new content picker, at least for the simplest kinds of relations.

Resources