dfe-analytical-services / local-authority-interactive-tool

Local Authority Interactive Tool
https://department-for-education.shinyapps.io/local-authority-interactive-tool/
MIT License
1 stars 0 forks source link

Developing static code for Statistical Neighbour level view #23

Closed JT-39 closed 1 month ago

JT-39 commented 1 month ago

Pull request overview

This is largely to merge the work done on building the static version of the Statistical Neighbour page. However, there have also been some improvements made to the css and wider app logic.

Pull request checklist

Please check if your PR fulfills the following:

What is the current behaviour?

Currently, there is no work done to create the Statistical Neighbour page. Also, the app needs some visual improvements such as removing unnecessary horizontal scroll bars, adjusting padding for a more aesthetic feel as well as improving some of the wider app logic such as repeated code or potential efficiency gains.

What is the new behaviour?

The Statistical Neighbour Level view has been recreated with a static method, in the script stat_neigh_page_features_workshop.R. All features (that are unique to the page) are replicated for a specific LA, Topic and Indicator.

There has been a decision to diverge from the original LAIT functionality on the plots. The current plots are copies of the plots found on the LA Level page, however, it is thought plots following a similar style to the Regional Level page would be more useful (focus and multi-choice plots). These are designed to (a) compare selected LA against its statistical neighbour LAs and (b) show a default LA with the option to add any statistical neighbour LAs, selected LA region or England to the plot (max 3 others).

Other changes have been made that aim to improve the app.

Anything else

This will not close the add feature: Statistical Neighbour tab as the development app script and modules are still required.