Wittgenstein Centre Data Explorer
R HTML Rebol Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
df0 upload data Jun 19, 2015
df1 upload data Jun 19, 2015
df2 upload data Jun 19, 2015
df3 upload data Jun 19, 2015
df4 upload data Jun 19, 2015
df5 upload data Jun 19, 2015
df6 upload data Jun 19, 2015
df7 upload data Jun 19, 2015
embed move embed Jun 20, 2018
meta updated faq Mar 2, 2016
pdf upload data Jun 19, 2015
server googlevis update Jan 25, 2018
www upload data Jun 19, 2015
.gitignore upload code Jun 19, 2015
README.md percentages for graphic explorer Oct 27, 2015
about_details.md upload code Jun 19, 2015
about_edu.md upload code Jun 19, 2015
about_scenario.md upload code Jun 19, 2015
ass_select.R upload code Jun 19, 2015
data_select.R upload code Jun 19, 2015
data_show.R upload code Jun 19, 2015
do_data.R upload code Jun 19, 2015
do_label.R update faq in labels Mar 8, 2016
do_wcde.R move embed Jun 20, 2018
google-analytics.js upload code Jun 19, 2015
intro_about.md upload code Jun 19, 2015
intro_data.md upload code Jun 19, 2015
intro_graphic.md upload code Jun 19, 2015
intro_logo.html upload code Jun 19, 2015
label.RData update faq in labels Mar 8, 2016
map_select.R upload code Jun 19, 2015
prof_blurb.md upload code Jun 19, 2015
prof_select.R upload code Jun 19, 2015
pyr_select.R percentages in plots Jan 5, 2016
sac_select.R percentages in plots Jan 5, 2016
server.R googlevis update Jan 25, 2018
sm-share.html upload code Jun 19, 2015
style.css googlevis legend, drop dropbox + add meta, bigger progress bar Sep 18, 2015
ui.R upload code Jun 19, 2015
wcde.Rproj upload code Jun 19, 2015

README.md

wcde

Wittgenstein Centre Data Explorer

Contains all code and data used to build the shiny app for the Wittgenstein Centre Data Explorer, available at http://www.wittgensteincentre.org/dataexplorer/

An overview of app is given at https://gjabel.wordpress.com/2015/06/15/shiny-app-for-the-wittgenstein-centre-population-projections/

Folder df0 contains the raw data from Samir.

Folders df1-df7 contain formatted data for quick reading into the shiny app. Produced by the saves packages in the do_data.R script

Folder pdf contains all the country profiles for downloading.

Folder www contains images.

Folder server contains all the R code that is dependent (reactive) on the user inputs including

  • [foo]_build.R: returns plots or data frames.
  • [foo]_ui.R to: returns reactive user inputs where choices are dependent on other user inputs.
  • [foo]_fn.R: R functions that do not involve any shiny specific functions.

do_label.R produces the set of objects in label.RData. It contains

  • lists of indicator names, country names, age groups, etc., etc., used in the drop down fields
  • ind data.frame: details on which indicators are available by which dimension.
  • geog data.frame: details on country, areas and region names and codes.
  • dimen data.frame: details on scenario, age, sex and education dimensions.
  • faq data.frame: displayed in the FAQ tab.
  • assump data.frame: details on projection assumptions used in each scenario-country combination The objects in label.RData are loaded at the top of the ui.R script.

The ui.R script refers to a number of files in order to control the layout including:

  • [foo].md files are markdown text generally located at the top of the page above the tabs.
  • [foo].html files are HTML code to display various images.
  • [foo]_select.R scripts are shiny ui functions to create and arrange user inputs in each part of the app.
  • data_show.R script arranges the layout of the data tab.