Coder Social home page Coder Social logo

dfe-analytical-services / attendance-data-dashboard Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 1.04 GB

DfE data dashboard to view pupil attendance and absence in schools data at national, regional and local authority level

Home Page: https://department-for-education.shinyapps.io/pupil-attendance-in-schools/

License: MIT License

R 96.25% HTML 0.23% JavaScript 0.30% CSS 3.22%
data-dashboard dfe education

attendance-data-dashboard's Introduction


DfE Attendance data dashboard

Introduction | Requirements | How to use | How to contribute | Contact


Introduction

The dashboard provides users with an opportunity to investigate pupil attendance and absence at National, Regional and Local Authority geographic levels. Data is available across state-funded primary, secondary and special schools and can also be broken down by individual school type.

Live version of the dashboard can be accessed at

The dashboard is split across multiple tabs:

  • Headlines includes information on attendance, overall absence (including authorised and unauthorised absence) in the most recent week and across the year to date
  • Reasons includes information on authorised and unauthorised absence including the individual reasons for absence
  • Local authority data includes information on the overall, authorised and unauthorised absence rates for each local authority in the most recent week

The dashboard also includes further information on the data itself on the technical notes tab, alongside accessibility and information on where to find further support.


Requirements

i. Software requirements (for running locally)

  • Installation of R Studio 1.2.5033 or higher

  • Installation of R 3.6.2 or higher

  • Installation of RTools40 or higher

ii. Programming skills required (for editing or troubleshooting)


How to use

Running the app locally

  1. Clone or download the repo.

  2. Open the R project in R Studio.

  3. Run renv::restore() to install dependencies.

  4. Run shiny::runApp() to run the app locally.

Packages

Package control is handled using renv. As in the steps above, you will need to run renv::restore() if this is your first time using the project.

Tests

UI tests have been created using shinytest that test the app loads, that content appears correctly when different inputs are selected, and that tab content displays as expected. More should be added over time as extra features are added.

GitHub Actions provide CI by running the automated tests and checks for code styling. The yaml files for these workflows can be found in the .github/workflows folder.

The function run_tests_locally() is created in the Rprofile script and is available in the RStudio console at all times to run both the unit and ui tests.

Deployment

If you have any questions about the shinyapps.io subscription and deployment in DfE please contact the Statistics Development Team at [email protected].

Navigation

In general all .r files will have a usable outline, so make use of that for navigation if in RStudio: Ctrl-Shift-O.

Code styling

The function tidy_code() is created in the Rprofile script and therefore is always available in the RStudio console to tidy code according to tidyverse styling using the styler package. This function also helps to test the running of the code and for basic syntax errors such as missing commas and brackets.


How to contribute

Our contributing guidelines can be found at https://github.com/dfe-analytical-services/attendance-data-dashboard/blob/main/CONTRIBUTING.md.

Flagging issues

If you spot any issues with the application, please flag it in the "Issues" tab of this repository, and label as a bug.

Merging pull requests

Only members of the team can merge pull requests. Add GemmaSelby29 as a requested reviewer, and the team will review before merging.


Contact

If you have any questions about the dashboard please contact [email protected].

attendance-data-dashboard's People

Contributors

c-h-rowe avatar chfoster avatar cjrace avatar gemmaselby29 avatar jen-machin avatar markpearsondfe avatar ppotts10 avatar rmbielby avatar seankgibson avatar t-surtees avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

funkyedudata

attendance-data-dashboard's Issues

EES data csv files deleted

Describe the bug
The ees .csv files have been deleted (EES_daily_data.csv etc) when it appears they should have been updated as per the commit on 11th July

To Reproduce
Go to attendance-data-dashboard
/data/
History shows deletion of files

Expected behaviour
Updated files in their place, as per previous commits

Screenshots
image

Smartphone (please complete the following information):
Microsoft Edge

Additional context
N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.