Nelson Jovel
c85ddddd8d
feat: add parent survey gauges
1 year ago
Nelson Jovel
22b9b44773
chore: add another variant for column name
1 year ago
Nelson Jovel
66dda0d30d
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
2 years ago
Nelson Jovel
8d31faf012
chore: speed up survey data loader
2 years ago
Nelson Jovel
62a7fbb4fc
chore: Add 'English Learner' and 'DirectCert' as valid column headers
2 years ago
Nelson Jovel
5a1db34a18
chore: add a way to print out errors in dese id when cleaning files
2 years ago
Nelson Jovel
d4db4e0fa2
add disaggregation glossary
2 years ago
Nelson Jovel
5851ab1cbf
chore: add parsing rules for disaggregation columns; ell, income, sped. Add tests for new rules
2 years ago
Nelson Jovel
6a9d04f7ff
fix: make sure enrollment loader works
2 years ago
Nelson Jovel
ac5c1edfbf
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
Gabe Farrell
b3e6efdb2e
Faster admin data loader + rename School.school_hash
2 years ago
Gabe Farrell
b5f90376f7
Memoize admin data loader
2 years ago
Nelson Jovel
3c3b0d2cf5
fix: loosen restrictions on date format
2 years ago
Nelson Jovel
bd1a7b3877
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
c4d8b927af
feat: Support two date formats: ISO 8601 and the standard US date format
...
used in google sheets
2 years ago
Nelson Jovel
7d527b5639
chore: support alternate format for recorded date
2 years ago
Nelson Jovel
8d596faeeb
chore: alphabetize districts when writing filename for cleaned files
2 years ago
Nelson Jovel
c6c9fd38de
fix: batch in smaller size to stay within memory limits
2 years ago
Nelson Jovel
e97e7047b1
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
e1fc5dbbaa
feat: add 2023-24 academic year and make sure previous year enrollment
...
and staffing data get loaded when missing
2 years ago
Nelson Jovel
2a125aa058
chore: bring in some refactoring changes that didn't get copied over from the main branch
2 years ago
Nelson Jovel
75451648e5
chore: move code that normalizes race data to the Race class
2 years ago
Nelson Jovel
e7f06ef4e9
chore: remove lowell seeding rules
2 years ago
Nelson Jovel
bbefdcb5bb
chore: remove student loader since we load race information in data loader
2 years ago
Nelson Jovel
063810a9d7
chore: make sure to load races in data loader instead of student loader
2 years ago
Nelson Jovel
381625f58b
chore: reenable test spec that tests data loader for races
2 years ago
Nelson Jovel
317fe3239a
chore: refactor Race out of survey_item_values
2 years ago
Nelson Jovel
a295b8afb9
chore: refactor Gender out out of survey_item_values row
2 years ago
Nelson Jovel
0359dae88a
chore: rename counts_by_grade to enrollment_by_grade for clarity
2 years ago
Nelson Jovel
ee5e53f992
chore: Make sure 'hispanic' column only gets applied when using SIS race information
2 years ago
Nelson Jovel
6f265302ea
feat: if the filename includes the words 'form' or 'part' add that to the resulting cleaned filename
2 years ago
Nelson Jovel
fe039e3d04
chore: various fixes for race and gender categorization during cleaning.
...
Also add tests for race and gender categorization
2 years ago
rebuilt
a07728fcd6
feat: We no longer trust the progress number that gets exported from qualtrics. Instead during the cleaning progress, perform a manual count of the number of responses to filter out rows that don't meet the minimum threshold.
2 years ago
rebuilt
9d680c5159
chore: upgrade to rails 7.1.
...
upgrade rspec
fix failing tests
upgrade devise
2 years ago
rebuilt
acfdaf5587
feat: add special education disaggregation
2 years ago
rebuilt
5bdffec8f9
Add disaggregation by ELL
2 years ago
rebuilt
245cde85cd
Add disaggregation by ELL
2 years ago
rebuilt
6db93cb116
feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged'
2 years ago
rebuilt
a1b580048b
chore: remove precalculated race scores. Calculate race scores on every reload
2 years ago
rebuilt
76ebcc6ef3
feat: Add income table to the database. Add seeder for income. Add a reference to income from survey item response. Update the loader to import income data from the survey response csv. Refactor analyze controller to extract presenter. Add corresponding specs. Add income graph to analyze page
2 years ago
rebuilt
7373e2e52f
fix: Filter out responses that don't correspond to the grades the school serves
2 years ago
rebuilt
1265a164b9
feat: add popover to analyze graphs that displays the n-size of the different columns. Make sure to only calculate a score for a race if there are more than 10 respondents to a question.
2 years ago
rebuilt
e42aa05324
chore: remove outdated admin data loader file. We now use Dese::Loader to load school level data
2 years ago
rebuilt
8f276a5f1a
feat: if admin data value is above 5, round down to 5
2 years ago
rebuilt
22cc303a95
fix: There was an n+1 problem where we looked up the list of schools for
...
every row. Now we query the list of schools just once per file
2 years ago
rebuilt
784e23982e
feat: update survey_item_response table to indlude recorded date and import recorded date when loading responses
2 years ago
rebuilt
25a2698ac9
Fix: make sure values don't get reordered after copying over row values from survey item variants. This fixes a problem where cleaner would produce a row with likert scores that got shifted to align with the wrong column
3 years ago
rebuilt
f7c40c2da2
Fix: enable correct detection of student surveys types by rejecting any
...
headers ending with '-1' (the variants of standard questions)
3 years ago
rebuilt
2445642586
Don't write a file if there's an empty dataset
3 years ago
rebuilt
6b2bceceb6
Fix: Parse headers when they are surrounded by quotes. This helps load recent csv files correctly
3 years ago