https://github.com/guyabel/wcde-shiny
Wittgenstein Centre Data Explorer
https://github.com/guyabel/wcde-shiny
demography human-capital population-data population-projections r rstats shiny shiny-r
Last synced: 5 months ago
JSON representation
Wittgenstein Centre Data Explorer
- Host: GitHub
- URL: https://github.com/guyabel/wcde-shiny
- Owner: guyabel
- Created: 2015-06-19T10:19:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-03-25T02:22:34.000Z (7 months ago)
- Last Synced: 2025-04-05T00:37:01.593Z (6 months ago)
- Topics: demography, human-capital, population-data, population-projections, r, rstats, shiny, shiny-r
- Language: HTML
- Homepage: http://www.wittgensteincentre.org/dataexplorer/
- Size: 1.47 GB
- Stars: 13
- Watchers: 1
- Forks: 21
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wittgenstein Centre Data Explorer
Contains all code and data used to build the shiny app for the Wittgenstein Centre Data Explorer, available at
An overview of the app is given at
Data formatting and upload based in the separate repo:
`www` folder contains images used on site and additional files.
`server` folder contains all the R code that is dependent (reactive) on the user inputs, referred to in `server.R`, including
- `[foo].R`: returns plots or data frames in a given tab.
- `[foo]_choices.R`: 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.
`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
In addition to data frames from the meta folder:
- `ind`: details on which indicators are available by which dimension.
- `geog`: details on country, areas and region names and codes.
- `dimen` data frame: details on the scenario, age, sex and education dimensions.
- `faq`: displayed in the FAQ tab.
- `assump`: 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 the `ui` folder 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].R` scripts are shiny ui functions to create and arrange user inputs in each part of the app.