NEWS.md
file to track changes to the package.{climateapp}
(old package).here::here()
in /inst/app/0-settings.R
/R/data_con.R/data_con_distance
)/R/data_write.R/data_write_distance
)/R/data_write.R/data_read_distance
)latitude
, longitude
, distance
and station_ref
in /0-settings.R
compute_geo_distance
in /R/data_transform_distances.R
that encapsulates the distance formula described in https://www.kompf.de/gps/distcalc.htmldata_trans_distance
that computes pairwise distance between stations/inst/app/data/tidy/ยด in order to control
.RDS` files via git LFSset_global_data_repo()
and
get_global_data_repo()
)1-main.R
here::here()
in /R/data_con.R
functionsdata_read_station_v2
,
data_read_temperature_min_v2
, data_read_temperature_max_v2
,
data_read_sunshine_duration_v2
, data_read_precipitation_historical_v2
, data_read_precipitation_recent_v2
dim_station
to dat_db_msr
via data_trans_db_msr_v2
/inst/app/8-app.Rmd
to new functionality for distances and took out
some blocks that are currently irrelevantDESCRIPTION
frontend_version
to settings/versions (/inst/app/0-settings.R
)dat_sundur
(added * 24
in order to compute
values on "hours per day" scale instead of on "day per day" scale). Also rounded
to full integers.floor()
and ceiling()
to inputs in frontend to make user-facing
values nicermsr_sundur_avg
to range between 0 and 28 with step =
4
upon user requestabs()
via
data_tidy_sunshine_duration_v3
/R/modelling.R
) to include on-the-fly
computations of geo distance in output tablesundur
sundur
that was caused by the wrong
data link aboveR/data_transform.R/dat_transform_names_to_label
) and use labels in prediction
tablemsr_precip_*
that were caused by missing value
imputation via data_trans_impute_missing_values()
/inst/app/10-app_deployed.Rmd
)expand_weight_grid = TRUE/FALSE
which controls whether or not
expand.grid()
is used to create combinations of all weight factors in
model_estimate
dat_distance_prime_react()
) that acts as lower bound in
handle_input_distance()
and ensures that no alternative recommendation can be
farther away than the prime locationdplyr::distinct()
in output$model_output_alts <-
shiny::renderDataTable({...})
)msr_distance
of alternative recommendations
(see dplyr::arrange()
in output$model_output_alts <-
shiny::renderDataTable({...})
)model_estimate_inner*()
, now back to
model_estimate_inner()
handle_input_distance*()
, now back to
handle_input_distance()
dat_model_output_prime
to model_run
which passes it through to
model_estimate_inner
which filters the return values accordingly.tibble()
as output of
model_estimate_prime
and model_estimate
and subsequently checking for empty
tibbles before visualizing. Works in the sense that at least an informative
error message is displayed, but somehow UI does not "switch back" to the regular
state even after a valid settings input is defined. Needs to be further
investigatedmsr_co2
) in /app.R
ui_mode_tabs
to FALSE
/app.R
with deployment verison Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.