Skip to content

salgo60/SDGMapperSweden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SDGMapper Sweden

Test to see if we can use SDGmapper on Swedish Parliament documents to "classify" documents according to SDG see also #5 if the Swedish PM can use it and classify documents produced regarding to SDG

Result of this POC

  • there is a document size problem #4
  • the API dont use Linked data #6 and right now its not planned
  • Quality of mapping needs to be investigated, looks like english is preffered language

Test API

Document: http://data.riksdagen.se/dokument/sfs-2021-1106.json

Returns

{'data': 
    ['{
      "name": "sdgs", 
      "children": 
        [
          {
             "name": "SDG 1", 
             "n_occurrences": 2, 
             "children": 
                [
                  {
                    "n_occurrences": 1, 
                    "name": "Target 1.3"},
                  {
                     "n_occurrences": 1, 
                     "name": "Target 1.4"}
                 ] }, 
           {
             "name": "SDG 4", 
             "n_occurrences": 3, 
             "children": 
                [
                  {
                    "n_occurrences": 1, 
                     "name": "Target 4.b"}, 
                  {
                    "n_occurrences": 2, 
                    "name": "SDG 4_undetected_target"}
                    ]}, 
            {
              "name": "SDG 9", 
              "n_occurrences": 1, 
              "children": 
                [
                  {
                    "n_occurrences": 1, 
                    "name": "Target 9.5"}
                 ]}, 
            {
              "name": "SDG 10", 
              "n_occurrences": 1, 
              "children": 
                [
                  {
                    "n_occurrences": 1, 
                    "name": "Target 10.1"}
                   ]}, 
            {
              "name": "SDG 15", 
              "n_occurrences": 2, 
              "children": 
                [
                  {
                    "n_occurrences": 2, 
                    "name": "Target 15.2"}
                    ]}, 
            {
              "name": "SDG 16", 
              "n_occurrences": 1, 
              "children": 
                [
                  {
                    "n_occurrences": 1, 
                    "name": "Target 16.10"}
                    ]}, 
             {
              "name": "SDG 17", 
              "n_occurrences": 2, 
              "children": 
                [
                  {
                    "n_occurrences": 2, 
                    "name": "Target 17.1"}
                    ]}
           ], 
           "api version": "v1"}'
        ]
      }

Using the web tool this can be visualized as

Test web tool

Small tests done with the web interface

Releases

No releases published

Packages

No packages published