-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fte point in time sql #23
Comments
FTE SQL sent from Craig in Slack cte_next_term_data AS (
LEFT JOIN cte_next_term_not_summer b ) SELECT a.days_to_class_start,
LEFT JOIN export.student_term_level b |
The FTE shaping sent from Craig in Slack: pit_enrollment_df <- pit_enrollment_sql %>% term_info_df <- pit_enrollment_df %>% previous_term_info_df <- pit_enrollment_df %>% target_term <- term_info_df[["term_id"]] previous_term <- (as.integer(target_term) - 100L) %>% ########## if(todays_date){
}
} fte_check <- pit_enrollment_df %>% both_fte <- rbind(fte_sql, fte_check) compare_to_fte <- both_fte %>% |
This issue is waiting for the next enhancements to utDataStoR. The code provided above needs to be reviewed and made functional. The work in the app is being done in both sql and R code so there will be work that needs to be done to make the sql provide the right data. This will require an update the the fte vignette and the make_fte_sql function. |
@CraigDemke I have written an sql that I think is producing the right data. It looks more like the headcount_point_in_time.sql (https://github.com/ut-effectiveness/utDataStoR/blob/master/inst/sql/headcount/headcount_point_in_time.sql) in utDataStoR. Please review it and give me some feedback. Also, I'm not sure what to check it against. I want to check it against Edify. Do I run it and then the Edify FTE, and take the most recent Edify FTE compared to 1 day ago of the fte_point_in_time? WITH cte_undergrad_fte AS (SELECT a.term_id, cte_graduate_fte AS (SELECT b.term_id, SELECT a.term_id, |
I have put some sql together (edify_fte_point_in_time.sql). See the branch new_fte_sql - https://github.com/ut-effectiveness/utDataStoR/tree/new_fte_sql/inst/sql/fte |
Use the SQL for off the daily snap shot as a base for an fte point in time sql that will be similar to the headcount point in time sql.
The text was updated successfully, but these errors were encountered: