Skip to content

Commit

Permalink
Simplify res_params assignment in README.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jeancochrane committed Oct 13, 2023
1 parent 8e9be9d commit 6eec8f6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,9 @@ library(httr)
condo_params <- read_yaml("params.yaml")
condo_preds <- condo_params$model$predictor$all
res_params_text <- GET(
res_params <- read_yaml(
"https://raw.githubusercontent.com/ccao-data/model-res-avm/master/params.yaml"
) %>%
content(as = "text")
res_params <- read_yaml(text = res_params_text)
)
res_preds <- res_params$model$predictor$all
condo_unique_preds <- setdiff(condo_preds, res_preds)
Expand Down

0 comments on commit 6eec8f6

Please sign in to comment.