From a8f3421fb81d6801fe10d3521fe88656fda8d426 Mon Sep 17 00:00:00 2001 From: argirok Date: Fri, 18 Mar 2022 13:14:07 +0200 Subject: [PATCH] add fos/sdg in advanced search, add autocomplete methods, add initial json files --- explore/src/assets/vocabulary/fos.json | 86 ++++++++++++++++++++++++++ explore/src/assets/vocabulary/sdg.json | 16 +++++ 2 files changed, 102 insertions(+) create mode 100644 explore/src/assets/vocabulary/fos.json create mode 100644 explore/src/assets/vocabulary/sdg.json diff --git a/explore/src/assets/vocabulary/fos.json b/explore/src/assets/vocabulary/fos.json new file mode 100644 index 00000000..9a3eb4b9 --- /dev/null +++ b/explore/src/assets/vocabulary/fos.json @@ -0,0 +1,86 @@ +{ + "fos":[ + { + "number": "01", + "id": "01 natural sciences", + "label": "01 natural sciences", + "level": 1, + "children": [ + { + "number": "0101", + "id": "0101 mathematics", + "label": "0101 mathematics", + "level": 2, + "children": [ + { + "number": "010101", + "id": "010101 applied mathematics", + "label": "010101 applied mathematics", + "level": 3, + "children": [ + ] + }, + { + "number": "010102", + "id": "010102 general mathematics", + "label": "010102 general mathematics", + "level": 3, + "children": [ + ] + }, + { + "number": "010103", + "id": "010103 numerical & computational mathematics", + "label": "010103 numerical & computational mathematics", + "level": 3, + "children": [ + ] + }, + { + "number": "010104", + "id": "010104 statistics & probability", + "label": "010104 statistics & probability", + "level": 3, + "children": [ + ] + } + ] + + }, + { + "number": "0102", + "id": "0102 computer and information sciencess", + "label": "0102 computer and information sciences", + "level": 2, + "children": [ + + ] + + } + + ] + + }, + + { + "number": "02", + "id": "02 engineering and technology", + "label": "02 engineering and technology", + "level": 1, + "children": [ + + ] + }, + { + "number": "03", + "id": "03 medical and health sciences", + "label": "03 medical and health sciences", + "level": 1, + "children": [ + + ] + } + ] + +} + diff --git a/explore/src/assets/vocabulary/sdg.json b/explore/src/assets/vocabulary/sdg.json new file mode 100644 index 00000000..0448db19 --- /dev/null +++ b/explore/src/assets/vocabulary/sdg.json @@ -0,0 +1,16 @@ +{ + "sdg":[ + { + "number": "1", + "id": "1. No poverty", + "label": "1. No poverty" + }, + { + "number": "2", + "id": "2. Zero hunger", + "label": "2. Zero hunger" + } + + ] + +}