Open minqigai opened 3 months ago
@TeresaRachelTalim good work! Please find my feedback below:
In UI, for static elements like instructions text & image, since it is not going to update for entire app lifespan, so we should put it in UI instead of using output
components
https://github.com/TeresaRachelTalim/RShiny_Assignment/blob/332ab1940e0f013f546835d67929dcd3c5d21fc0/app.R#L33-L34
For tail factor, we can specify a step
parameter to control how large the number increase/decrease, usually 0.1 is enough, default of 1 is too large
https://github.com/TeresaRachelTalim/RShiny_Assignment/blob/332ab1940e0f013f546835d67929dcd3c5d21fc0/app.R#L39
The plotOutput and download button UI can be wrapped in a single uiOutput
, since both require file input
https://github.com/TeresaRachelTalim/RShiny_Assignment/blob/332ab1940e0f013f546835d67929dcd3c5d21fc0/app.R#L43-L44
The download button is a very nice feature!
Hi @TeresaRachelTalim, thanks for attempting the shiny assessment, please find my feedbacks below:
The interface fully fulfilled all requirements. The user can input loss data and tail factor. The app can correctly calculate the reserve using the chain ladder method and visualise the result. Well done!
The UI design is very comfortable to look at.
You included a guide to help the user in preparing the sample data. This is a good point to ensure people know how to use the app.
It is very nice to put comments inside, which makes the code easy to read. https://github.com/TeresaRachelTalim/RShiny_Assignment/blob/332ab1940e0f013f546835d67929dcd3c5d21fc0/app.R#L19
The calculation logic is concise. The coding is dynamic, which can cater for different numbers of loss years and development years. Good job!