Commit graph

841 commits

Author SHA1 Message Date
Nelson Jovel
07836cc020 feat: Add 'all school' option to exports page 2024-09-27 13:24:32 -07:00
Nelson Jovel
4407954058 feat: add ability to filter export data by student survey item type. Ability added to 'by grade' 'by item' and 'survey item responses' reports 2024-09-27 13:24:23 -07:00
Nelson Jovel
6a8396f4df feat: read and load parent survey items 2024-09-27 13:24:14 -07:00
Nelson Jovel
4609658829 fix: swap over to using respondents table to calculate which grades need to be included. This fixes a problem where errant responses were polluting the set of grades for a school. Also order the survey items by prompt(alphabetically) 2024-08-15 09:26:26 -07:00
Nelson Jovel
7e7a538361 fix: Report::SurveyItemByGrade.create_grade_report now runs without errors 2024-08-13 09:59:18 -07:00
Nelson Jovel
015066869a fix: SurveyItemByItem.create_item_report now runs without errors 2024-08-13 09:36:54 -07:00
Nelson Jovel
1851ecf7f8 feat: allow selecting a subset of student survey items for the survey item report 2024-08-12 16:23:58 -07:00
Nelson Jovel
226118f688 Add an exports page that allows a user to select which reports they want
to run
2024-08-12 16:23:46 -07:00
Nelson Jovel
fb001c0140 chore: fix code so I can run reports 2024-08-12 14:42:36 -07:00
Nelson Jovel
491e50c55d fix: correctly reference SurveyItemResponse in Subcategory report 2024-07-19 13:13:46 -07:00
Nelson Jovel
2a97a0f589 fix: correctly reference SurveyItemResponse instead of Report::SurveyItemResponse 2024-07-19 11:21:57 -07:00
Nelson Jovel
40bc106239 feat: use qualtrics code instead of designation when generating report 2024-07-19 10:52:36 -07:00
Nelson Jovel
3659433fb5 feat: create a report at the survey item response level that shows averages by student to selected measures 2024-07-18 15:48:10 -07:00
Nelson Jovel
cabf346ada fix: When no academic years are selected, show an empty set of graphs on the analyze page instead of erroring out 2024-07-01 13:41:13 -07:00
Nelson Jovel
8ab754eada chore: add another variant for column name 2024-06-26 14:19:50 -07:00
Nelson Jovel
ee41751f4e chore: correct parsing for 'not sped' and 'lep not first year' 2024-06-26 12:03:31 -07:00
Nelson Jovel
678dd5416e chore: handle cases where the pivot table inserts headers instead of actual values for gender and race 2024-06-24 19:09:43 -07:00
Nelson Jovel
33013e6716 chore: handle unknowns when parsing records 2024-06-24 13:48:00 -07:00
Nelson Jovel
294e9c5ce5 feat: stop processing race or gender column if we encounter values we don't know about 2024-06-20 12:49:01 -07:00
Nelson Jovel
cf50c43109 feat: add links from the analyze page to the browse page 2024-06-20 10:51:26 -07:00
Nelson Jovel
9c9346f455 chore: add ability to filter survey item report by student survey type 2024-06-19 15:48:50 -07:00
Nelson Jovel
118938deeb chore: add report for listing district level averages for measure scores 2024-06-19 10:15:37 -07:00
Nelson Jovel
ebcb27ca6d fix: correctly memoize student_survey_items_with_sufficient_responses so that on the analyze page, when the first year has insufficient responses, it doesn't affect all subsequent years 2024-06-13 09:02:19 -07:00
Nelson Jovel
8516111a15 chore: refactor analyze page 2024-06-12 10:47:01 -07:00
Nelson Jovel
3ad47e6bd5 feat: switch analyze page to use hotwire. Fix n_size count for teacher 2024-06-12 10:43:48 -07:00
Nelson Jovel
d041a5a567 chore: During cleaning, stop execution if grade column isn't found. Also stop execution if a duplicate header is found. Turn off spec for duplicate header check 2024-05-23 12:52:34 -07:00
Nelson Jovel
26bcc2c736 chore: speed up survey data loader 2024-05-23 12:24:27 -07:00
Nelson Jovel
051f156126 chore: add parsing rules for income: 'yes', 'no' and sped: 'No special needs' and ell: 'ELL' 2024-05-22 17:33:21 -07:00
Nelson Jovel
5c0851d4f9 feat: add measure name and id to the beginning of the csv report 2024-05-22 17:32:47 -07:00
Nelson Jovel
a4bc428633 chore: Only memoize functions primary functions, not every function in the
file.  This should reduce memory use
2024-05-17 11:02:15 -07:00
Nelson Jovel
2c07ea6317 chore: Add 'English Learner' and 'DirectCert' as valid column headers 2024-05-17 09:42:22 -07:00
Nelson Jovel
c8fe940be2 fix: fix merge error 2024-05-17 08:58:13 -07:00
Nelson Jovel
c651cd0c25 fix: When multiple years were selected on the Analyze page, results were getting incorrectly filtered out when the first academic year did not have sufficient responses. Now all selected years with data are correctly displayed 2024-05-17 08:52:34 -07:00
Nelson Jovel
74fdc89fc2 chore: update glossary values to include parsing rules for when we encounter headers 2024-05-16 17:07:46 -07:00
Nelson Jovel
499215f9b9 chore: parse disaggregation header values as 'unknown' since they are errors in the pivot table logic 2024-05-16 15:10:31 -07:00
Nelson Jovel
2bf22758c1 chore: add a way to print out errors in dese id when cleaning files 2024-05-16 15:10:21 -07:00
Nelson Jovel
6e5baf0ba6 chore: update sped parsing to categorize SpecialEdStatus as unknown 2024-05-15 16:00:19 -07:00
Nelson Jovel
d9195dadff chore: account for #N/A when parsing income 2024-05-15 14:19:15 -07:00
Nelson Jovel
c4d4c35766 update parsing rules from glossary 2024-05-15 10:54:12 -07:00
Nelson Jovel
8e7fbdfb2c add disaggregation glossary 2024-05-15 10:53:59 -07:00
7373d8bae4 Chore: Reduce queries 2024-05-10 14:22:24 -04:00
Nelson Jovel
4c360c9e62 chore: add more rules for finding disaggregation columns and parsing sped values 2024-05-09 12:53:35 -07:00
Nelson Jovel
fdc4c49bf0 chore: copy changes from main 2024-05-09 11:20:24 -07:00
Nelson Jovel
6fe565b636 chore: add new rules for sped parsing 2024-05-09 11:19:23 -07:00
Nelson Jovel
cf5c4f2d13 feat: add seasonal academic years 2024-05-08 15:22:26 -07:00
Nelson Jovel
4c258f6cb3 fix: additional rules for SPED categorization 2024-05-07 18:51:13 -07:00
Nelson Jovel
65c25fc3c7 Add ell income and sped parsing rules for SIS data. Add tests for the
new inputs.
2024-05-07 17:18:59 -07:00
Nelson Jovel
2561fa28fc feat: Split academic year into seasons if the academic year's range is
initialized with a season, i.e. "2024-25 Fall".  Update scapers for
admin data, enrollment and staffing to use the new range standard
correctly.   Update the loaders for admin data, enrollment and staffing
so that it populates all seasons in a given year.  So admin data for
2024-25 gets loaded into "2024-25 Fall" and "2024-25 Spring".  Add tests
for the new range format.  Set the default cutoff for the start of Spring season will be the last Sunday in February
2024-04-27 14:05:02 -07:00
Nelson Jovel
67ffc996a8 Revert "Split academic year into seasons if the academic year's range is"
This reverts commit a5d4cccb37.
2024-04-26 13:48:30 -07:00
Nelson Jovel
a5d4cccb37 Split academic year into seasons if the academic year's range is
initialized with a season, i.e. "2024-25 Fall".  Update scapers for
admin data, enrollment and staffing to use the new range standard
correctly.   Update the loaders for admin data, enrollment and staffing
so that it populates all seasons in a given year.  So admin data for
2024-25 gets loaded into "2024-25 Fall" and "2024-25 Spring".  Add tests
for the new range format.  Set the default cutoff for the start of Spring season will be the last Sunday in February
2024-04-26 13:31:50 -07:00