You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a separate table in Hasura that logs CSV uploads. Table will have the following columns: file name, time uploaded, formatted properly, error message school district (and whatever other columns you think would be helpful!)
Chain another Lambda function that triggers when our current lambda finishes (@katie-proj - put your sanitization code in the second lambda). the second lambda will check if the data is formatted properly and then based on that will update the CSV upload table with an appropriate status and error entry.
Add another column to the Students table, called "added_with", which keeps track of the file from the CSV upload table with which that row of data was added to the table.
To retrieve information about whether the data was formatted correctly in the client, make a graphql query to hasura after the file is uploaded
Assigning Bach for support :)
The text was updated successfully, but these errors were encountered:
Chain another lambda function before the sendToHasura function that will take care of data sanitization and create custom error messages for the CSV upload table
INFO FOR @katie-proj
Ethnicity field should contain one of the following: American Indian or Alaskan Native, Asian or Asian American, Black or African American, Hawaiian Native or Other Pacific Islander, Hispanic, Other, Two or more Races, White or Caucasian
Gender field should contain Male, Female or Non-Binary
Enrollment status is Active/not Active
Will get more clarity on this from David :)
Assigning Bach for support :)
The text was updated successfully, but these errors were encountered: