rebuilt
446b3b1096
WIP: Update the parent table to hold a reference to a language
...
Update the data uploader script to read the language from the csv and update the language information for any parent items that already exist (or create database entries if none already exist)
8 months ago
Nelson Jovel
1e3b4b3c16
fix: tests
1 year ago
Nelson Jovel
67a9a96433
fix: make sure all likert scores get counted even when the survey item id has different capitalization. Add tests for uploading parent data. Change the parent response rate calcuation to count all students in the school instead of just for the grades that were given the student survey
1 year ago
Nelson Jovel
d338003886
Show parent response rate
1 year ago
Nelson Jovel
c85ddddd8d
feat: add parent survey gauges
1 year ago
Nelson Jovel
2c4dec050e
chore: correct parsing for 'not sped' and 'lep not first year'
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
acf25cb525
update parsing rules from glossary
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
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
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
9a65e81aac
fix: fix failing test
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
24ddcd936a
fix: fix failing tests
2 years ago
Nelson Jovel
b88c4e0ab5
chore: remove unneeded student loader spec
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
6f265302ea
feat: if the filename includes the words 'form' or 'part' add that to the resulting cleaned filename
2 years ago
Nelson Jovel
d79635054c
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
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
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
0a5500ecc9
feat: Add overall response rate
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
bb172aa7d0
chore: remove errant comment
3 years ago
rebuilt
677cee83e4
turn off three b one scraper spec
3 years ago
rebuilt
ce76c979a4
Add scraper for 3B-i student/#courses ratio
3 years ago
rebuilt
904d0d2f2c
It's possible for admin data likert score values to be above 5. If that happens, we
...
cap the likert score at 5. This was happening already at the scraper
level but it's also now being done by the admin data loader for safety.
Also make sure to just update admin data instead of deleting and
reloading all values each load. Add tests to confirm this behavior
3 years ago
rebuilt
89295f8832
Missing progress or duration information does not result in a row removed in the cleaning process
3 years ago
rebuilt
f749b96006
update response_date to recorded_date
3 years ago
rebuilt
d031179dc0
add changes to duration for short form items
3 years ago
rebuilt
9d0f8659f1
Adjust valid duration threshold of short form items
3 years ago
rebuilt
0dfc9726d0
Add automated data cleaning. Modify SurveyItemValues class to use regex
...
instead of hard coded values. Produce a clean csv and a csv with all
the removed values and columns with reason for removal. Add script for
running cleaning for each project
3 years ago
rebuilt
a066f464c7
fix failing tests
3 years ago
rebuilt
09963c3323
Remove surveys table from codebase since it's no longer needed after changing logic surrounding response rates and score calculations
3 years ago
rebuilt
357c7427d1
Batch imports for staffing data
3 years ago
rebuilt
d272e48adc
load total students and batch importing records
3 years ago
Nelson Jovel
98ba54c305
Convert dese::loader from using seeder to factories
3 years ago