Skip to content

Commit

Permalink
Merge pull request #41 from MastodonC/fix/file-names-in-r-script
Browse files Browse the repository at this point in the history
Fix file names in R script
  • Loading branch information
seb231 authored Mar 1, 2018
2 parents dce66c7 + 01625cc commit fdfa5a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/R/send-charts.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ n_hist_years <- df_historical %>%

### Send by academic year ###

df_projected_ay <- read.csv("../../target/output-ay.csv") %>%
df_projected_ay <- read.csv("../../target/Output_AY.csv") %>%
select(calendar.year, academic.year, mean)

df_historical_ay <- df_historical %>%
Expand Down Expand Up @@ -68,7 +68,7 @@ ggsave("../../target/NCY_Population_Trends.pdf")

### Projected count by setting ###

df_projected_set <- read.csv("../../target/output-setting.csv") %>%
df_projected_set <- read.csv("../../target/Output_Setting.csv") %>%
select(calendar.year, setting, mean) %>%
rename(Setting = setting)

Expand Down Expand Up @@ -116,7 +116,7 @@ for(i in 1:4) {

### Projected count by need type ###

df_projected_need <- read.csv("../../target/output-need.csv") %>%
df_projected_need <- read.csv("../../target/Output_Need.csv") %>%
select(calendar.year, need, mean) %>%
rename(Need = need)

Expand Down Expand Up @@ -144,7 +144,7 @@ ggsave("../../target/Need_Trends.pdf")

### Projected special setting count ###

df_projected_set <- read.csv("../../target/output-setting.csv") %>%
df_projected_set <- read.csv("../../target/Output_Setting.csv") %>%
select(calendar.year, setting, mean) %>%
rename(Setting = setting)

Expand Down

0 comments on commit fdfa5a0

Please sign in to comment.