diff --git a/.github/workflows/deploy-to-production.yml b/.github/workflows/deploy-to-production.yml index 2c7c1800..f0a7c7f1 100644 --- a/.github/workflows/deploy-to-production.yml +++ b/.github/workflows/deploy-to-production.yml @@ -28,17 +28,17 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: fetch-depth: 0 persist-credentials: false - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v1 with: - python-version: 3.7 + python-version: 3.8 - name: Install dependencies run: | python -m pip install --upgrade pip @@ -56,7 +56,10 @@ jobs: CLEAN: true - name: Rebuild site run: | - curl -X POST https://api.github.com/repos/hagstofan/heimsmarkmid-site/dispatches \ - -H "Accept: application/vnd.github.everest-preview+json" \ - -H "Authorization: token ${{secrets.HAGSTOFA_DATA}}" \ - --data '{"event_type": "rebuild-production", "client_payload":{"ref":"master"}}' + curl -L \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{secrets.HAGSTOFA_DATA}}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/hagstofan/heimsmarkmid-site/actions/workflows/deploy-to-production.yml/dispatches \ + -d '{"ref":"master","inputs":{}}' diff --git a/README.md b/README.md index 071345f3..6cf8bdfe 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,3 @@ This is a starter repository to help in implementing the [Open SDG](https://github.com/open-sdg/open-sdg) platform. [See here for documentation](https://open-sdg.readthedocs.io). - diff --git a/meta/12-b-1.md b/meta/12-b-1.md index 6968b8f5..906beeb7 100644 --- a/meta/12-b-1.md +++ b/meta/12-b-1.md @@ -32,7 +32,7 @@ computation_definitions: >- Innleiðing staðlaðra bókhaldstóla til að mæla efnahagslega og umhverfislega þætti sjálfbærni í ferðaþjónustu er reiknað sem hlutfall bókhaldstafla sem birtar eru. Vísað er í lýsigögn Sameinuðu Þjóðanna fyrir ítarupplýsingar um - bókhaldstólin. + bókhaldstólin. Innleiddar eru 6 af 7 TSA töflum og 2 af 4 SEEA töflum. computation_calculations: null comments_limitations: >- Gögn fylgja forskrift Sameinuðu Þjóðanna fyrir þennan mælikvarða. Þessi diff --git a/meta/2-1-1.md b/meta/2-1-1.md index 6ade8c10..49c3fb22 100644 --- a/meta/2-1-1.md +++ b/meta/2-1-1.md @@ -1,6 +1,6 @@ --- data_non_statistical: true -goal_meta_link: https://unstats.un.org/sdgs/metadata/files/Metadata-02-01-01.pdf +goal_meta_link: 'https://unstats.un.org/sdgs/metadata/files/Metadata-02-01-01.pdf' goal_meta_link_text: Lýsigögn Sameinuðu Þjóðanna (pdf 232kB) graph_type: line indicator: 2.1.1 @@ -11,31 +11,35 @@ permalink: /2-1-1/ published: true reporting_status: complete sdg_goal: '2' -target: Eigi síðar en árið 2030 hafi hungri verið útrýmt og aðgengi allra tryggt, einkum fátækra og fólks í viðkvæmri stöðu, þar á meðal ungbarna, að nægum, öruggum og næringarríkri fæðu allt árið um kring. +target: >- + Eigi síðar en árið 2030 hafi hungri verið útrýmt og aðgengi allra tryggt, + einkum fátækra og fólks í viðkvæmri stöðu, þar á meðal ungbarna, að nægum, + öruggum og næringarríkri fæðu allt árið um kring. target_id: '2.1' graph_title: Algengi vannæringar. un_custodian_agency: Matvæla- og landbúnaðarstofnun Sameinuðu Þjóðanna (FAO) un_designated_tier: '1' - national_indicator_available: Algengi vannæringar. -comments_limitations: Þessi mælikvarði er notaður sem nálgun á heimsmarkmiðamælikvarða Sameinuðu Þjóðanna. Þar sem því má við komast er unnið að því að finna eða þróa íslensk gögn til að uppfylla forskrift Sameinuðu Þjóðanna. Þessi mælikvarði var fundinn í samstarfi við sérfræðinga á þessu sviði. - +comments_limitations: >- + Þessi mælikvarði er notaður sem nálgun á heimsmarkmiðamælikvarða Sameinuðu + Þjóðanna. Þar sem því má við komast er unnið að því að finna eða þróa íslensk + gögn til að uppfylla forskrift Sameinuðu Þjóðanna. Þessi mælikvarði var + fundinn í samstarfi við sérfræðinga á þessu sviði. source_active_1: true source_organisation_1: Matvæla- og landbúnaðarstofnun Sameinuðu Þjóðanna (FAO) source_periodicity_1: Árleg source_earliest_available_1: 2000 source_geographical_coverage_1: Aðildarríki SÞ -source_url_1: https://www.fao.org/sustainable-development-goals/indicators/211/en/ +source_url_1: 'https://www.fao.org/sustainable-development-goals/indicators/211/en/' source_url_text_1: Matvæla- og landbúnaðarstofnun Sameinuðu Þjóðanna (FAO) - 2.1.1. -source_release_date_1: -source_next_release_1: +source_release_date_1: null +source_next_release_1: null source_statistical_classification_1: Opinber tölfræði source_contact_1: SDG-indicators@fao.org - --- Matvæla- og landbúnaðarstofunun Sameinuðu Þjóðanna (FAO) birtir niðurstöður líkanareikninga um þennan mælikvarða fyrir Ísland. -**Samkvæmt niðurstöðum FAO hefur algengi vannæringar á Íslandi verið innan við 2.5% öll ár milli 2000 og 2020.** +**Samkvæmt niðurstöðum FAO hefur algengi vannæringar á Íslandi verið innan við 2.5%** Þessi mælikvarði er notaður sem nálgun á heimsmarkmiðamælikvarða Sameinuðu Þjóðanna. Þar sem því má við komast er unnið að því að finna eða þróa íslensk gögn til að uppfylla forskrift Sameinuðu Þjóðanna. Þessi mælikvarði var fundinn í samstarfi við sérfræðinga á þessu sviði. diff --git a/meta/5-5-1.md b/meta/5-5-1.md index 9ed09318..43a8e2c1 100644 --- a/meta/5-5-1.md +++ b/meta/5-5-1.md @@ -1,6 +1,6 @@ --- data_non_statistical: false -goal_meta_link: https://unstats.un.org/sdgs/metadata/files/Metadata-05-05-01.pdf +goal_meta_link: 'https://unstats.un.org/sdgs/metadata/files/Metadata-05-05-01.pdf' goal_meta_link_text: Lýsigögn Sameinuðu Þjóðanna (PDF 4.0 MB) graph_type: line indicator: 5.5.1 @@ -12,31 +12,50 @@ permalink: /5-5-1/ published: true reporting_status: complete sdg_goal: '5' -target: "Tryggð verði virk þátttaka kvenna og jöfn tækifæri þeirra til að vera leiðandi við ákvarðanatöku á öllum sviðum stjórn- og efnahagsmála sem og á opinberum vettvangi." +target: >- + Tryggð verði virk þátttaka kvenna og jöfn tækifæri þeirra til að vera leiðandi + við ákvarðanatöku á öllum sviðum stjórn- og efnahagsmála sem og á opinberum + vettvangi. target_id: '5.5' graph_title: Hlutfall kvenna a) á þjóðþingum og b) í sveitarstjórnum. un_custodian_agency: Alþjóðaþingmannasambandið (IPU) un_designated_tier: 1/2 - national_indicator_available: Hlutfall kvenna á Alþingi. national_indicator_description: Hlutfall kvenna á Alþingi. -national_geographical_coverage: Ísland +national_geographical_coverage: Ísland computation_units: Hundraðshlutar (%) computation_definitions: >- - Fjöldi kvenna á þjóðþingum og sveitarstjórnum er skilgreint sem fjöldi kvenna sem hlýtur kosningu til viðkomandi stjórnvalds í opnum kosningum. -computation_calculations: Hlutfall kvenna á þjóðþingi er reiknað með því að deila fjölda kvenna á þjóðþingi með heildarfjölda þingmanna. -comments_limitations: Þessi mælikvarði er notaður sem nálgun á heimsmarkmiðamælikvarða Sameinuðu Þjóðanna. Þar sem því má við komast er unnið að því að finna eða þróa Íslensk gögn til að uppfylla forskrift Sameinuðu Þjóðanna. Þessi mælikvarði var fundinn í samstarfi við sérfræðinga á þessu sviði. - + Fjöldi kvenna á þjóðþingum og sveitarstjórnum er skilgreint sem fjöldi kvenna + sem hlýtur kosningu til viðkomandi stjórnvalds í opnum kosningum. +computation_calculations: >- + Hlutfall kvenna á þjóðþingi er reiknað með því að deila fjölda kvenna á + þjóðþingi með heildarfjölda þingmanna. +comments_limitations: >- + Þessi mælikvarði er notaður sem nálgun á heimsmarkmiðamælikvarða Sameinuðu + Þjóðanna. Þar sem því má við komast er unnið að því að finna eða þróa Íslensk + gögn til að uppfylla forskrift Sameinuðu Þjóðanna. Þessi mælikvarði var + fundinn í samstarfi við sérfræðinga á þessu sviði. source_active_1: true source_organisation_1: Hagstofa Íslands -source_periodicity_1: +source_periodicity_1: null source_earliest_available_1: 1953 source_geographical_coverage_1: Ísland -source_url_1: https://px.hagstofa.is/pxis/pxweb/is/Ibuar/Ibuar__kosningar__althingi__althkjornir/KOS02051.px -source_url_text_1: Frambjóðendur og kjörnir þingmenn eftir kyni og aldri 2003 -2017 -source_release_date_1: 21/12/2017 -source_next_release_1: -source_statistical_classification_1: Opinber tölfræði -source_contact_1: upplysingar@hagstofa.is -source_other_info_1: +source_url_1: >- + https://px.hagstofa.is/pxis/pxweb/is/Ibuar/Ibuar__kosningar__althingi__althkjornir/KOS02051.px +source_url_text_1: Frambjóðendur og kjörnir þingmenn eftir kyni og aldri +source_release_date_1: null +source_next_release_1: null +source_statistical_classification_1: Opinber tölfræði +source_contact_1: heimsmarkmidin@hagstofa.is +source_other_info_1: null +source_active_2: true +source_organisation_2: Hagstofa Íslands +source_earliest_available_2: 1962 +source_geographical_coverage_2: Ísland +source_url_2: >- + https://px.hagstofa.is/pxis/pxweb/is/Ibuar/Ibuar__kosningar__sveitastjorn__svf_yfirlit/KOS03101.px +source_url_text_2: Sveitarstjórnarkosningar - Lykiltölur +source_release_date_2: null +source_statistical_classification_2: Opinber tölfræði +source_contact_2: heimsmarkmidin@hagstofa.is --- diff --git a/meta/en/2-1-1.md b/meta/en/2-1-1.md index 8cf91a57..bbc7ae6f 100644 --- a/meta/en/2-1-1.md +++ b/meta/en/2-1-1.md @@ -1,6 +1,6 @@ --- data_non_statistical: true -goal_meta_link: https://unstats.un.org/sdgs/metadata/files/Metadata-02-01-01.pdf +goal_meta_link: 'https://unstats.un.org/sdgs/metadata/files/Metadata-02-01-01.pdf' goal_meta_link_text: United Nations Sustainable Development Goals Metadata (pdf 232kB) graph_type: line indicator: 2.1.1 @@ -11,34 +11,36 @@ permalink: /2-1-1/ published: true reporting_status: complete sdg_goal: '2' -target: By 2030, end hunger and ensure access by all people, in particular the poor - and people in vulnerable situations, including infants, to safe, nutritious and - sufficient food all year round. +target: >- + By 2030, end hunger and ensure access by all people, in particular the poor + and people in vulnerable situations, including infants, to safe, nutritious + and sufficient food all year round. target_id: '2.1' graph_title: Prevalence of undernourishment un_custodian_agency: FAO un_designated_tier: '1' - national_indicator_available: Prevalence of undernourishment -comments_limitations: This indicator is being used as an approximation of the UN SDG Indicator. Where possible, we will work to identify or develop Icelandic data to meet the global indicator specification. This indicator has not been identified in collaboration with topic experts. - +comments_limitations: >- + This indicator is being used as an approximation of the UN SDG Indicator. + Where possible, we will work to identify or develop Icelandic data to meet the + global indicator specification. This indicator has not been identified in + collaboration with topic experts. source_active_1: true source_organisation_1: UN Food and Agriculture Organization (FAO) source_periodicity_1: Annual source_earliest_available_1: 2000 -source_geographical_coverage_1: World -source_url_1: https://www.fao.org/sustainable-development-goals/indicators/211/en/ +source_geographical_coverage_1: World +source_url_1: 'https://www.fao.org/sustainable-development-goals/indicators/211/en/' source_url_text_1: UN Food and Agriculture Organization (FAO). 2.1.1. -source_release_date_1: -source_next_release_1: +source_release_date_1: null +source_next_release_1: null source_statistical_classification_1: Non-Official Statistic source_contact_1: SDG-indicators@fao.org - --- The Food and Agriculture Organization of the United Nations (FAO) presents modelled data for iceland relating to this indicator. -**FAO states the prevalance of undernourishment in Iceland as <2.5% between 2000 and 2020.** +**FAO states the prevalance of undernourishment in Iceland is less than <2.5%** This indicator is being used as an approximation of the UN SDG Indicator and has not been identified in collaboration with topic experts. We will work to identify or develop Icelandic data to meet the global indicator specification. diff --git a/meta/en/5-5-1.md b/meta/en/5-5-1.md index 3d481737..dfff924a 100644 --- a/meta/en/5-5-1.md +++ b/meta/en/5-5-1.md @@ -1,47 +1,67 @@ --- data_non_statistical: false -goal_meta_link: https://unstats.un.org/sdgs/metadata/files/Metadata-05-05-01.pdf -goal_meta_link_text: United Nations Sustainable Development Goals Metadata (PDF 4.0 - MB) +goal_meta_link: 'https://unstats.un.org/sdgs/metadata/files/Metadata-05-05-01.pdf' +goal_meta_link_text: United Nations Sustainable Development Goals Metadata (PDF 4.0 MB) graph_type: line indicator: 5.5.1 -indicator_definition: Proportion of seats held by women in (a) national parliaments - and (b) local governments -indicator_name: Proportion of seats held by women in (a) national parliaments and - (b) local governments +indicator_definition: >- + Proportion of seats held by women in (a) national parliaments and (b) local + governments +indicator_name: >- + Proportion of seats held by women in (a) national parliaments and (b) local + governments indicator_sort_order: 05-05-01 layout: indicator permalink: /5-5-1/ published: true reporting_status: complete sdg_goal: '5' -target: "Ensure women\u2019s full and effective participation and equal opportunities\ - \ for leadership at all levels of decision-making in political, economic and public\ - \ life" +target: >- + Ensure women’s full and effective participation and equal opportunities for + leadership at all levels of decision-making in political, economic and public + life target_id: '5.5' graph_title: Proportion of seats held by women in national parliament un_custodian_agency: Inter-Parliamentary Union (IPU) un_designated_tier: 1/2 - national_indicator_available: Proportion of seats held by women in national parliaments national_indicator_description: Percentage of seats held in Parliament by members who are women -national_geographical_coverage: Iceland +national_geographical_coverage: Iceland computation_units: Percentage (%) computation_definitions: >- - Seats refer to the number of parliamentary mandates, also known as the number of members of parliament. Seats are won by members in general parliamentary elections. -computation_calculations: The proportion of seats held by women in national parliament is derived by dividing the total number of seats occupied by women by the total number of seats in parliament. There is no weighting or normalising of statistics. -comments_limitations: This indicator is being used as an approximation of the UN SDG Indicator. Where possible, we will work to identify or develop Icelandic data to meet the global indicator specification. This indicator has been identified in collaboration with topic experts. - + Seats refer to the number of parliamentary mandates, also known as the number + of members of parliament. Seats are won by members in general parliamentary + elections. +computation_calculations: >- + The proportion of seats held by women in national parliament is derived by + dividing the total number of seats occupied by women by the total number of + seats in parliament. There is no weighting or normalising of statistics. +comments_limitations: >- + This indicator is being used as an approximation of the UN SDG Indicator. + Where possible, we will work to identify or develop Icelandic data to meet the + global indicator specification. This indicator has been identified in + collaboration with topic experts. source_active_1: true source_organisation_1: Statistics Iceland source_periodicity_1: Discontinuous source_earliest_available_1: 1953 source_geographical_coverage_1: Iceland -source_url_1: https://px.hagstofa.is/pxen/pxweb/en/Ibuar/Ibuar__kosningar__althingi__althkjornir/KOS02051.px +source_url_1: >- + https://px.hagstofa.is/pxen/pxweb/en/Ibuar/Ibuar__kosningar__althingi__althkjornir/KOS02051.px source_url_text_1: Statistics on elected members of parliment -source_release_date_1: 21/12/2017 -source_next_release_1: TBC -source_statistical_classification_1: Official Statistic -source_contact_1: upplysingar@hagstofa.is -source_other_info_1: +source_release_date_1: null +source_next_release_1: null +source_statistical_classification_1: Official Statistics +source_contact_1: sdg@statice.is +source_other_info_1: null +source_active_2: true +source_organisation_2: Statistics Iceland +source_earliest_available_2: 1962 +source_geographical_coverage_2: Iceland +source_url_2: >- + https://px.hagstofa.is/pxen/pxweb/en/Ibuar/Ibuar__kosningar__sveitastjorn__svf_yfirlit/KOS03101.px +source_url_text_2: Local government elections +source_release_date_2: null +source_statistical_classification_2: Official Statistics +source_contact_2: sdg@statice.is --- diff --git a/scripts/requirements.txt b/scripts/requirements.txt index d6a41621..4ebb1d49 100644 --- a/scripts/requirements.txt +++ b/scripts/requirements.txt @@ -1,4 +1,4 @@ git+https://github.com/dougmet/yamlmd -git+https://github.com/open-sdg/sdg-build@2.1.0 +git+https://github.com/open-sdg/sdg-build@2.3.0 frictionless==4.40.8 pydantic==1.*