This interactive dashboard empowers you to explore and model your data using the dynamic population model (DPM).
In brief: All modifications to this package must be made through Pull requests, ideally linked to a specific GitHub Issue.
Pull requests should have a suitable pull request review form attached, with key notes/descriptions of changes made added by the requester and if applicable additional notes on particular areas to focus the review (syntax changes, key functional changes, documentational changes etc.)
If you have linked your RStudio installation to GitHub you should be able to install the package directly from GitHub using the install_github method from the devtools package
# install.packages("devtools")
library(devtools)
devtools::install_github("ONSBigData/dpm_dash", build_vignettes = TRUE, INSTALL_opts = "--no-multiarch")If you have not/are unable to link your RStudio installation to GitHub (you may encounter a 404 error when attempting the previous approach) you can also install the package in two alternative ways
Download a copy of the package repository as a .zip file (option in ‘Code’, below Open with GitHub Desktop) and install using the install_local method from the devtools package (replace the path with the path to the .zip file download location)
# install.packages("devtools")
library(devtools)
devtools::install_local("C:/.../Downloads/dpm_dash-main.zip", build_vignettes = TRUE, INSTALL_opts = "--no-multiarch")Clone the repository (options in ‘Code’ to HTTPS/SSH paths) and build the package using the build() method from the devtools package
# install.packages("devtools")
library(devtools)
dpm_dash_build <- devtools::build("~/put/the/package/path/here")
devtools::install_local(dpm_dash_build, build_vignettes = TRUE, INSTALL_opts = "--no-multiarch")Once you have installed the dpm.dashboard package all you need to do to run the dashboard is using the run_dpm_dashboard() function
dpm_dash::run_dev_dash()
or
library(dpm_dash)
run_dev_dash()This will launch the dashboard, allowing us to get started with using the DPM.
By contributing, you agree that your contributions will be licensed under its MIT License. For additional information regarding the licensing, and related copyright, of this code please refer to the LICENSE