Authors: Florian Kobierska Baffie [aut, cre]
Version: 0.1
License: see license.md
This package was developed for the FlomKart project. It contains functions used by the shiny app
leaflet, tidyverse
testthat, packagedocs
r
suppressWarnings(suppressMessages(
library(FlomvarslingApp,
quietly = TRUE, warn.conflicts = FALSE, verbose = FALSE
)
))
This was an attempt to modularize Bymans functions. Server module. May not work...
dygraph_mod(input, output, session, selected_stations, model_1, model_2, model_3, model_4 = NULL)
This was an attempt to modularize Bymans functions. Server module. May not work...
dygraph_mod2(input, output, session, selected_stations, model_1, model_2, model_3, model_4 = NULL)
This was an attempt to modularize Bymans functions. UI module to be used with "dygraph_mod". May not work...
dygraph_modUI(id)
forecast_plot(dat)
Shiny server module to plot ...
forecast_plot_mod(input, output, session, map_input, dat)
Shiny server module to plot ... Same plot as forecast_plot_mod but without plotly to get the shading for the current day
forecast_plot_mod_shading(input, output, session, map_input, dat)
Shiny UI module to be used with "forecast_plot_mod_shading"
forecast_plot_mod_shadingUI(id)
Shiny UI module to plot ...
forecast_plot_modUI(id)
This function only produces "static" ggplot for the moment, but I need to find a way to do the shading with plotly
forecast_plot_shading(dat)
# forecast_plot_shading(Mistake, Mist) # This is dummy example
Shiny server module to map ...
mapModule(input, output, session)
Shiny server module to map ...
mapModule_polygonFeature(input, output, session)
Shiny UI module to be used with "mapModule_polygonFeature" ...
mapModule_polygonFeatureUI(id)
Shiny UI module to be used with "mapModule" ...
mapModuleUI(id, multiple_choice = FALSE)
multimod_forecast_plot(dat_1 = NULL, dat_2 = NULL, dat_3 = NULL, dat_4 = NULL, return_levels = NULL, gg_plot = FALSE)
Shiny server module to do multi-model plots. Needs tidy up with other functions... To tidy up probable double up with multimod_forecast_plot
multimod_forecast_plot_EXP(dat_1 = NULL, dat_2 = NULL, dat_3 = NULL, dat_4 = NULL)
multimod_forecast_plot_EXP(dat_1 = NULL, dat_2 = NULL, dat_3 = NULL, dat_4 = NULL)
Shiny server module to do multi-model plots. Needs new parametrization!
multimod_forecast_plot_mod(input, output, session, map_input, model_1, model_2, model_3, model_4, return_levels = NULL)
Shiny UI module to be used with multimod_forecast_plot
multimod_forecast_plot_modUI(id)
Shiny UI module...
multimod_forecast_selection_modUI(id)
mapping function
multiple_station_map(stations, selected_regine_main = NULL, selected_name = NULL, selected_long = NULL, selected_lat = NULL, single_poly = FALSE, variable2plot = "none", radius_function = TRUE, popups = FALSE)
This was an attempt to modularize Bymans functions. Server module. May not work...
mydygraphModule(input, output, session)
This was an attempt to modularize Bymans functions. UI module to be used with "mydygraphModule". May not work...
mydygraphModuleUI(id)
Shiny server module to map... TO tidy up with mapModule_polygonFeature
NEW_mapModule_polygonFeature(input, output, session)
Shiny UI module to be used with "NEW_mapModule_polygonFeature"
NEW_mapModule_polygonFeatureUI(id)
Shiny UI module to plot ...
OLD_forecast_plot_modUI(id)
Shiny server module to map... TO tidy up with mapModule_polygonFeature
OLD_mapModule_polygonFeature(input, output, session)
Shiny UI module to be used with "OLD_mapModule_polygonFeature"
OLD_mapModule_polygonFeatureUI(id)
Shiny server module to do multi-model plots. Needs tidy up with previous function
OLD_multimod_forecast_plot(input, output, session, selected_stations = NULL, model_1, model_2, model_3, model_4, return_levels = NULL, variable_1, variable_2, variable_3, variable_4, type_rl)
mapping function
single_station_map(stations, selected_nbname = NULL, selected_long = NULL, selected_lat = NULL, variable2plot = "none", map_layer = "open streetmap", catchments = FALSE, colored_markers = FALSE, radius_function = TRUE, popups = FALSE)
Shiny server module to render data tables
table_mod(input, output, session, dat)
Shiny UI module to be used with table_mod
table_modUI(id)
This was an attempt to modularize Bymans functions. Server module. May not work...
taylor_mod(input, output, session, selected_stations, model_1, model_2, model_3, model_4 = NULL)
This was an attempt to modularize Bymans functions. UI module to be used with "taylor_mod". May not work...
taylor_modUI(id)
Sub-function use to find which stations are in the polygon the user has drawn
which_station_in_polygon(stations, map_selection)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.