-
Notifications
You must be signed in to change notification settings - Fork 1
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
Delete climate_match function once it is completely up and running in its own package ClimateCastR #122
Comments
Nice to hear that! 👍
Just a note: IMO I would name the new package climateCastR instead of ClimateCastR. |
Great, we'll keep you posted! 👍 and we'll think about the name 😉 |
There are dutch words in objects in eg. |
There are a few magical objects in As a general rule, the further away an object is used from it's initialisation, the longer it's name should be. example: cm <- data.frame()
for (b in unique(future_climate$scenario)) {
future_scenario <- future_climate %>%
dplyr::filter(.data$scenario == b)
cm_int <- data_overlay_unfiltered %>%
dplyr::filter(
.data$Classification %in% future_scenario$Classification
) %>%
dplyr::mutate(scenario = b)
if (nrow(cm) == 0) {
cm <- cm_int
} else {
cm <- rbind(cm, cm_int)
}
} |
As discussed with Tim, the functionality currently available in the climate_match function would better be stored in its own package (called ClimateCastR) and divided into multiple, smaller functions, instead of one big function. We are therefore planning to construct this package during the coming months and move the functionality there. @damianooldoni once everything is up and running we would remove this function from the trias package to avoid confusion. What would you need from our side to make this work fluently?
The text was updated successfully, but these errors were encountered: