Skip to content

This dashboard is intended to provide some general insight on the delicate matter of suicides all over the world based on a dataset with data that range from 1985 to 2015 for every country accounting for sex, age and economic variables such as per capita GDP.

Notifications You must be signed in to change notification settings

gaspare-mattarella/Suicides_Shiny_App_Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Suicides Over the World Control Dashboard

This dashboard is intended to provide some general insight on the delicate matter of suicides all over the world based on a dataset with data that range from 1985 to 2015 for every country accounting for sex, age and economic variables such as per capita GDP.

The App is reachable at https://hainexx.shinyapps.io/suicides_shiny_dashboard/.

Alternatively this Shiny App can be launched by installing the Shiny library on R typing in your console the following comands:

install.packages("shiny")
library(shiny)
runGitHub(repo = "Hainexx/Suicides_Shiny_App_Dashboard")

Every needed library will be automatically installed and loaded in your system without any further notice (the list of the needed packages can be found in sessionInfo.txt) but it is still required to have a C++ compiler installed.

On Mac you can install it by xcode-select --install, on Ubuntu Linux by sudo apt-get install r-base-dev and on Windows just by installing Rtools.

File Descprition

main.R: Here you can find the corpus of the code where all the data manipulation on the data set is done and a linear regression and its results are provided. An user-defined function is provided and the Rcpp function is implemented to speed up the code.

app.R: This is the core of the app containing the ui and server applications. All of the plots are directly written in the server function using the dataset created in main.R.

enlist.cpp: This is a C++ function that I implemented through the Rcpp library in my script to speed up my code.

master.csv: the used dataset. Further references are provided below.

about.md: last page of the app directly written in md.

sessionInfo.txt: information about loaded libraries and system specs.

Getting Help

Suicide Hotlines:

To find suicide hotlines for your country, please view:

Per l'Italia:

If you are in the U.S. you can take use of the following prevention lines which are all free, available 24/7, and confidential:

References:

The data set used to create the dashboard can be found at:

and was compiled from data from the following sources:

About

This dashboard is intended to provide some general insight on the delicate matter of suicides all over the world based on a dataset with data that range from 1985 to 2015 for every country accounting for sex, age and economic variables such as per capita GDP.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages