-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fde97bd
Showing
524 changed files
with
15,101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
# Matches multiple files with brace expansion notation | ||
# Set default charset | ||
[*.{js}] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
_site/ | ||
.sass-cache/ | ||
.jekyll-metadata | ||
.DS_Store | ||
.Rproj.user | ||
.Rhistory | ||
.spyproject/ | ||
*__pycache__/ | ||
*.Rproj | ||
Gemfile.lock | ||
deploy_key* | ||
deploy_key*.pub | ||
*.keybase | ||
data/edges/ | ||
data/headlines/ | ||
data/json/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
language: ruby | ||
rvm: | ||
- 2.4.0 | ||
dist: trusty | ||
sudo: false | ||
branches: | ||
only: | ||
- master | ||
- develop | ||
env: | ||
global: | ||
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true | ||
# Build. _site directory is the artifact | ||
before_script: | ||
- chmod +x ./scripts/*.sh | ||
- chmod +x ./scripts/deploy/*.sh | ||
script: | ||
- scripts/cibuild.sh | ||
# Deploy. Staging goes back to gh-pages here and prod to external repo | ||
deploy: | ||
- provider: script | ||
script: scripts/deploy/deploy_staging.sh | ||
skip_cleanup: true | ||
on: | ||
branch: develop | ||
- provider: script | ||
script: scripts/deploy/deploy.sh | ||
skip_cleanup: true | ||
on: | ||
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"editor.detectIndentation": false, | ||
"editor.tabSize": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "jekyll", "3.5.1" | ||
gem "html-proofer" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2018 Office for National Statistics | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Sustainable Development Goal indicators | ||
|
||
[](https://travis-ci.org/ONSdigital/sdg-indicators) [](http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/) | ||
|
||
This is a development website for collecting and disseminating UK data for the Sustainable Development Goal global indicators. This is a collaboration between the [ONS Sustainable Development Goals](https://www.ons.gov.uk/aboutus/whatwedo/programmesandprojects/sustainabledevelopmentgoals) team and the [ONS Data Science Campus](https://www.ons.gov.uk/aboutus/whatwedo/datasciencecampushttps://www.ons.gov.uk/aboutus/whatwedo/datasciencecampushttps://www.ons.gov.uk/aboutus/whatwedo/datasciencecampushttps://www.ons.gov.uk/aboutus/whatwedo/datasciencecampushttps://www.ons.gov.uk/aboutus/whatwedo/datasciencecampus), building on the earlier work of the [US GSA](https://github.com/GSA/sdg-indicators). | ||
|
||
For any guidance on how to use the website or develop it further for your own country, please refer to the [wiki](https://github.com/ONSdigital/sdg-indicators/wiki). Please send any comments and feedback to <a href ="mailto:[email protected]">[email protected]</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Welcome to Jekyll! | ||
# | ||
# This config file is meant for settings that affect your whole blog, values | ||
# which you are expected to set up once and rarely need to edit after that. | ||
# For technical reasons, this file is *NOT* reloaded automatically when you use | ||
# 'jekyll serve'. If you change this file, please restart the server process. | ||
|
||
# Site settings | ||
title: U.K. Indicators For The Sustainable Development Goals | ||
description: Data Platform Prototype | ||
baseurl: "/sdg-indicators" # the subpath of your site, e.g. /blog | ||
url: "" | ||
data_dir: data | ||
environment: staging | ||
remotedatabaseurl: "https://ONSdigital.github.io/sdg-data" | ||
# permalink: /news/:year/:month/:day/:title.html | ||
|
||
jekyll_get_data: | ||
- data: meta | ||
json: 'https://ONSdigital.github.io/sdg-data/meta/all.json' | ||
# cache: true | ||
# directory: 'remotedata' | ||
- data: headlines | ||
json: 'https://ONSdigital.github.io/sdg-data/headline/all.json' | ||
# cache: true | ||
# directory: 'remotedata' | ||
- data: schema | ||
json: 'https://ONSdigital.github.io/sdg-data/meta/schema.json' | ||
|
||
analytics: | ||
ga_prod: '' | ||
|
||
################################################################################################### | ||
email_contacts: | ||
questions: [email protected] | ||
suggestions: [email protected] | ||
functional: [email protected] | ||
################################################################################################### | ||
|
||
# Github Repo for Data | ||
repo_name: sdg-data | ||
branch: develop | ||
org_name: ONSdigital | ||
|
||
# Build settings | ||
markdown: kramdown | ||
|
||
# Travis Support | ||
exclude: [vendor, scripts, remotedata] | ||
|
||
# International Support | ||
# Eg name: Australia and adjective: Australian | ||
country: | ||
name: UK | ||
adjective: UK | ||
|
||
# Pages | ||
collections: | ||
pages: | ||
output: true | ||
permalink: /:path/ | ||
posts: | ||
output: true | ||
permalink: /news/:year/:month/:day/:title.html | ||
indicators: | ||
output: true | ||
goals: | ||
output: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Welcome to Jekyll! | ||
# | ||
# This config file is meant for settings that affect your whole blog, values | ||
# which you are expected to set up once and rarely need to edit after that. | ||
# For technical reasons, this file is *NOT* reloaded automatically when you use | ||
# 'jekyll serve'. If you change this file, please restart the server process. | ||
|
||
# Site settings | ||
title: U.K. Indicators For The Sustainable Development Goals | ||
description: Data Platform Prototype | ||
baseurl: "" # the subpath of your site, e.g. /blog | ||
url: "" | ||
data_dir: data | ||
environment: production | ||
remotedatabaseurl: "https://sustainabledevelopment-uk.github.io/sdg-data" | ||
# permalink: /news/:year/:month/:day/:title.html | ||
|
||
jekyll_get_data: | ||
- data: meta | ||
json: 'https://sustainabledevelopment-uk.github.io/sdg-data/meta/all.json' | ||
# cache: true | ||
# directory: 'remotedata' | ||
- data: headlines | ||
json: 'https://sustainabledevelopment-uk.github.io/sdg-data/headline/all.json' | ||
# cache: true | ||
# directory: 'remotedata' | ||
- data: schema | ||
json: 'https://sustainabledevelopment-uk.github.io/sdg-data/meta/schema.json' | ||
|
||
analytics: | ||
ga_prod: 'UA-108503280-1' | ||
|
||
################################################################################################### | ||
email_contacts: | ||
questions: [email protected] | ||
suggestions: [email protected] | ||
functional: [email protected] | ||
################################################################################################### | ||
|
||
# Github Repo for Data | ||
repo_name: sdg-data | ||
branch: develop | ||
org_name: ONSdigital | ||
|
||
# Build settings | ||
markdown: kramdown | ||
|
||
# Travis Support | ||
exclude: [vendor, scripts, remotedata] | ||
|
||
# International Support | ||
# Eg name: Australia and adjective: Australian | ||
country: | ||
name: UK | ||
adjective: UK | ||
|
||
# Pages | ||
collections: | ||
pages: | ||
output: true | ||
permalink: /:path/ | ||
posts: | ||
output: true | ||
permalink: /news/:year/:month/:day/:title.html | ||
indicators: | ||
output: true | ||
goals: | ||
output: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: End poverty in all its forms everywhere | ||
short: No Poverty | ||
permalink: /no-poverty/ | ||
sdg_goal: '1' | ||
color: '#e5243b' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: End hunger, achieve food security and improved nutrition and promote sustainable | ||
agriculture | ||
short: Zero Hunger | ||
permalink: /zero-hunger/ | ||
sdg_goal: '2' | ||
color: '#e5b735' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Ensure healthy lives and promote well-being for all at all ages | ||
short: Good Health and Well-being | ||
permalink: /good-health-and-well-being/ | ||
sdg_goal: '3' | ||
color: '#4c9f38' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Ensure inclusive and equitable quality education and promote lifelong learning | ||
opportunities for all | ||
short: Quality Education | ||
permalink: /quality-education/ | ||
sdg_goal: '4' | ||
color: '#c5192d' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Achieve gender equality and empower all women and girls | ||
short: Gender Equality | ||
permalink: /gender-equality/ | ||
sdg_goal: '5' | ||
color: '#ff3a21' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Ensure availability and sustainable management of water and sanitation for | ||
all | ||
short: Clean water and sanitation | ||
permalink: /clean-water-and-sanitation/ | ||
sdg_goal: '6' | ||
color: '#26bde2' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Ensure access to affordable, reliable, sustainable and modern energy for all | ||
short: Affordable and clean energy | ||
permalink: /affordable-and-clean-energy/ | ||
sdg_goal: '7' | ||
color: '#fcc30b' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Promote sustained, inclusive and sustainable economic growth, full and productive | ||
employment and decent work for all | ||
short: Decent jobs and economic growth | ||
permalink: /decent-jobs-and-economic-growth/ | ||
sdg_goal: '8' | ||
color: '#a21942' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Build resilient infrastructure, promote inclusive and sustainable industrialization | ||
and foster innovation | ||
short: Industry, innovation and infrastructure | ||
permalink: /industry-innovation-and-infrastructure/ | ||
sdg_goal: '9' | ||
color: '#fd6925' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Reduce inequality within and among countries | ||
short: Reduced inequalities | ||
permalink: /reduced-inequalities/ | ||
sdg_goal: '10' | ||
color: '#dd1367' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Make cities and human settlements inclusive, safe, resilient and sustainable | ||
short: Sustainable Cities & Communities | ||
permalink: /sustainable-cities-communities/ | ||
sdg_goal: '11' | ||
color: '#fd9d24' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Ensure sustainable consumption and production patterns | ||
short: Responsible consumption and production | ||
permalink: /responsible-consumption-and-production/ | ||
sdg_goal: '12' | ||
color: '#c9992d' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Take urgent action to combat climate change and its impacts | ||
short: Climate action | ||
permalink: /climate-action/ | ||
sdg_goal: '13' | ||
color: '#3f7e44' | ||
layout: goal | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Conserve and sustainably use the oceans, seas and marine resources for sustainable | ||
development | ||
short: Life below water | ||
permalink: /life-below-water/ | ||
sdg_goal: '14' | ||
color: '#0a97d9' | ||
layout: goal | ||
--- | ||
|
Oops, something went wrong.