Nelson Jovel
2bf22758c1
chore: add a way to print out errors in dese id when cleaning files
2 years ago
Nelson Jovel
6e5baf0ba6
chore: update sped parsing to categorize SpecialEdStatus as unknown
2 years ago
Nelson Jovel
d9195dadff
chore: account for #N/A when parsing income
2 years ago
Nelson Jovel
c4d4c35766
update parsing rules from glossary
2 years ago
Nelson Jovel
8e7fbdfb2c
add disaggregation glossary
2 years ago
Gabe Farrell
7373d8bae4
Chore: Reduce queries
2 years ago
Nelson Jovel
4c360c9e62
chore: add more rules for finding disaggregation columns and parsing sped values
2 years ago
Nelson Jovel
fdc4c49bf0
chore: copy changes from main
2 years ago
Nelson Jovel
6fe565b636
chore: add new rules for sped parsing
2 years ago
Nelson Jovel
cf5c4f2d13
feat: add seasonal academic years
2 years ago
Nelson Jovel
4c258f6cb3
fix: additional rules for SPED categorization
2 years ago
Nelson Jovel
65c25fc3c7
Add ell income and sped parsing rules for SIS data. Add tests for the
...
new inputs.
2 years ago
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
2 years ago
Nelson Jovel
67ffc996a8
Revert "Split academic year into seasons if the academic year's range is"
...
This reverts commit a5d4cccb37 .
2 years ago
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
2 years ago
Gabe Farrell
076be3b92d
Fix: Lowell -> Amherst
2 years ago
Gabe Farrell
f4dacf1a92
Bug Fix: survey item by grade report
2 years ago
Gabe Farrell
6fac759ec2
Faster admin data loader + rename School.school_hash
2 years ago
Gabe Farrell
e3bbf1353b
Feat: Add item-level reporting by grade
2 years ago
Gabe Farrell
deb70d4b88
Memoize admin data loader
2 years ago
Gabe Farrell
a3854bcce9
Fix: Isolate Report::SurveyItem
2 years ago
Gabe Farrell
bd42f25716
rename SurveyItemResponse method for clarity
2 years ago
Gabe Farrell
deaae5cf65
Feat: Add task to generate item-level survey report
2 years ago
Nelson Jovel
274909dc9f
feat: ignore library survey items in csvs
2 years ago
Nelson Jovel
cb37fcb760
fix: make sure staffing checks for zero
2 years ago
Nelson Jovel
f4a7ce03c2
fix:typo
2 years ago
Nelson Jovel
fc304f2d20
fix: If all respondents have total_teachers set to 0, that will trigger cloning previous year data
2 years ago
Nelson Jovel
e8cb2d7aa2
fix: make sure we are only reseeding staffing and demographic numbers if the data for that year is empty
2 years ago
Nelson Jovel
d52eebbc5c
fix: Fixes #187294757 . Data is hidden when selecting multiple years if the default year has no student data to show
2 years ago
Nelson Jovel
a191271504
Revert "fix: Fixes #187294757 . Data is hidden when selecting multiple years if the default year has no student data to show"
...
This reverts commit b9bdd707b5 .
2 years ago
Nelson Jovel
993fafcc0e
Revert "fix: Makes visible the graphs by grade"
...
This reverts commit 455f716b6d .
2 years ago
Nelson Jovel
455f716b6d
fix: Makes visible the graphs by grade
2 years ago
Nelson Jovel
b9bdd707b5
fix: Fixes #187294757 . Data is hidden when selecting multiple years if the default year has no student data to show
2 years ago
Nelson Jovel
9f5ca007a1
fix: make sure averages for admin data scales are included in report
2 years ago
Nelson Jovel
d90669b74d
feat: create beyond learning loss report
2 years ago
Nelson Jovel
f3dc21efa6
feat: change the text of the prompts for survey items
2 years ago
Nelson Jovel
259ec29dc2
fix: Correctly namespace models to avoid crashing the build process
2 years ago
Nelson Jovel
9f83b3dae4
fix: add pre-k to list of grades
2 years ago
Nelson Jovel
1e560294e1
fix: loosen restrictions on date format
2 years ago
Nelson Jovel
9bfb76db5a
match an additional format for Dates. Supported dates are now '1/10/2022 14:21:45' '2022-1-10T14:21:45' '2022-1-10 14:21:45'
2 years ago
Nelson Jovel
c3cb05701f
feat: Support two date formats: ISO 8601 and the standard US date format
...
used in google sheets
2 years ago
Nelson Jovel
23d23c4962
chore: support alternate format for recorded date
2 years ago
Nelson Jovel
be5b63637b
chore: alphabetize districts when writing filename for cleaned files
2 years ago
Nelson Jovel
d2e1be948d
fix: support alternate format for active admin data items. Support both 'True/False' and '1/0'
2 years ago
Nelson Jovel
cc8ed48204
fix: no longer support 'form' in filename when cleaning. Only look for 'part X' and add that to the filename if it exists
2 years ago
Nelson Jovel
de83154342
fix: Support true/false column values when categorizing income status. True is categorized as Economically Disadvantaged. False is categorized as Not Economically Disadvantaged
2 years ago
Nelson Jovel
8c458ae986
fix: change the default to not an english language learner. Blank columns are treated as Not ELL. Only mark student as an english language learner if it's marked as such. Columns marked with 'NA' are treated as unknown
2 years ago
Nelson Jovel
59b7416a3a
feat: change 'school admin data' to 'school data'
2 years ago
Nelson Jovel
0c87e20095
perf: reduce number of calls for student and teacher survey items in response rate calculators
2 years ago
Nelson Jovel
978b69b095
fix: correct a problem where survey items with insufficient responses were contributing to the response rate calculation
2 years ago
Nelson Jovel
946b0833fd
perf: reduce time spent in sql query for student response rate
2 years ago
Nelson Jovel
6bea0bc2d0
chore: refactor teacher response rate
2 years ago
Nelson Jovel
af82f6999a
perf: reduce number of queries for teacher survey_items
2 years ago
Nelson Jovel
f3fddd67b0
perf: reduce number of queries for respondents
2 years ago
Nelson Jovel
b2e866a895
perf: reduce number of queries by requesting grouped_responses once instead of for each measure
2 years ago
Nelson Jovel
a14110b883
chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel
77193cdf35
fix: reduce number of n+1 queries
2 years ago
Nelson Jovel
61f861a4f7
chore: remove method that wasn't needed
2 years ago
Nelson Jovel
6a2723af84
chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel
7ba124ac91
chore: prevent multiple lookups for the boston district by inlining the
...
sql
2 years ago
Nelson Jovel
b29e6a75ec
chore: memoize grades for school
2 years ago
Nelson Jovel
586c6f4b4c
fix: reduce number of n+1 queries
2 years ago
Nelson Jovel
080a054cad
chore: move code that normalizes race data to the Race class
2 years ago
Nelson Jovel
c565dbe46f
chore: remove lowell seeding rules
2 years ago
Nelson Jovel
a0c0b1d01d
chore: reenable test spec that tests data loader for races
2 years ago
Nelson Jovel
d4109fda6f
chore: refactor Race out of survey_item_values
2 years ago
Nelson Jovel
3e4ef9cb08
chore: refactor Gender out out of survey_item_values row
2 years ago
Nelson Jovel
2aff49516b
chore: remove todo
2 years ago
Nelson Jovel
0ebaf77bbd
feat: don't show collection date of response rate if there is no survey data
2 years ago
Nelson Jovel
6e7e64c039
chore: rename counts_by_grade to enrollment_by_grade for clarity
2 years ago
Nelson Jovel
b4e07434a1
feat: don't double count early ed students who are taking survey in parts
2 years ago
Nelson Jovel
197ccdfeb3
fix: Correctly navigate the user to the latest academic year when no data exists for the school
2 years ago
Nelson Jovel
6a24d4fa23
chore: Make sure 'hispanic' column only gets applied when using SIS race information
2 years ago
Nelson Jovel
f28713d1fe
chore: remove unneeded comment
2 years ago
Nelson Jovel
ce43f52bd5
feat: if the filename includes the words 'form' or 'part' add that to the resulting cleaned filename
2 years ago
Nelson Jovel
a15b01a3e1
fix: instead of looking for 'asian' at the start of a word, look for it
...
after a word boundary. This means it still doesn't get confused with
caucasian and it's more flexible whan asian appears inside other text
such as 'Caucasian and Asian and Black'
2 years ago
Nelson Jovel
8a0ba0dbea
chore: various fixes for race and gender categorization during cleaning.
...
Also add tests for race and gender categorization
2 years ago
Nelson Jovel
8364d26e11
feat: Support SIS categories for race in the form of 'White and Asian'
...
or 'Black, Asian, and white'
2 years ago
Nelson Jovel
55b73279bf
feat: add 2023-24 academic year and make sure previous year enrollment
...
and staffing data get loaded when missing
2 years ago
Nelson Jovel
ed755c6732
chore: refactor code so we use a hash instead of a switch statement for long-term performance
2 years ago
rebuilt
85ba1218e3
feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged'
2 years ago
Nelson Jovel
2ef24caf70
Lower threshold for the number of valid student responses from 17 to 11
2 years ago
Nelson Jovel
6365cad71b
chore: refactor code to put logic into models
2 years ago
Nelson Jovel
b983f1e144
chore: fix categorization of gender
2 years ago
Nelson Jovel
3da6016635
chore: add prefer not to disclose to gender. Add code of 7 as an option for prefer to self describe
2 years ago
Nelson Jovel
f27a590c5a
Convert gender and race text into qualtrics codes during cleaning. Abide by 'prefer not to disclose' for self reported race. Give priority to self reported data but use SIS information as backup
2 years ago
Nelson Jovel
81b683e95c
chore: Add comment about StaffingLoader also cloning enrollment data when it clones staffing data
2 years ago
Nelson Jovel
44a7f54f2a
Revert "chore: Add comment that notifies that cloning previous year staffing"
...
This reverts commit 95f8ada48d .
2 years ago
Nelson Jovel
95f8ada48d
chore: Add comment that notifies that cloning previous year staffing
...
data will also copy over enrollment data
2 years ago
Nelson Jovel
11617abd89
fix: make sure to grab the 'Gender- Qcode' column
2 years ago
Nelson Jovel
3d9bbb52eb
fix: make sure to populate total_students when loading enrollement
2 years ago
Nelson Jovel
4c32b8f253
fix: catch null condition that was causing a crash
2 years ago
Nelson Jovel
123b570bb9
Detect and print message when there are duplicate headers during
...
cleaning process
2 years ago
Nelson Jovel
6d84204f83
Add race and gender columns to cleaned cvs files when those headers are
...
missing
2 years ago
Nelson Jovel
a11a134805
fix: also load enrollment data when loading staffing information for the latest year
2 years ago
Nelson Jovel
1b82ff9413
chore: since it's now possible for there to be multiple district and dese id columns separated by a dash and a number, be more explicit when we only want to filter out survey item ids that end in a -1
2 years ago
Nelson Jovel
a3f9e46414
chore: when searching for dese id, split up pattern so that to be more explicit about the order in which to search out the columns that might have the dese ID we're looking for.
2 years ago
rebuilt
02b335ef63
feat: reduce number of rows to process at one time to reduce memory use
2 years ago
rebuilt
019b954ffa
feat: load student responses in the same pass as loading the survey responses
...
chore: remove student loader since loading students is now done with the survey response loader
2 years ago
rebuilt
91ab2dd82e
feat: instead of the analyze graph label being a simple string, turn it into an array of strings where each item will be placed on a new line
2 years ago