-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.yml
157 lines (144 loc) · 5.07 KB
/
metadata.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
title: Welcome to a publich interface for exploring the SWINNO data!
description_html: |-
<p>SWINNo is a VINNOVA-financed research project hosted at the
<a href="https://www.lusem.lu.se/economic-history/databases/swinno">
Department of Economic History</a> at Lund University, Lund, Sweden.
<p>At the core of SWINNO is a database of Swedish innovations constructed
through the LBIO (Literature Based Innovation Output) method.
<p>The data used here is a pubiicised version of the database published on
2024-10-04 on
<a href="https://zenodo.org/records/13893763">Zenodo</a>
<p>If you find a problem or have a suggestion for what should be added to
this interface please
<a href="https://github.com/swinnoproject/datasette-lite/issues/new/choose">report an issue</a>
<p> Click "Content" below to start exploring the data.
<p>This interface relies on
<a href="https://github.com/simonw/datasette-lite">Datasette-lite<a>
to run in your browser. If you rather run a local instance of Datasette
plese see the readme of
<a href="https://github.com/swinnoproject/datasette-lite">this repository<a>
for instructions.
license: Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
license_url: https://creativecommons.org/licenses/by-nc/4.0/
source: SWINNO-project
source_url: https://www.swedishinnovationdata.se
databases:
content:
title: SWINNO
description_html: |-
For the underlying database we are using a SQLite3 format.
<p> Under the header <bf>Queries</b> you will find a short list of
standard queries that we have prepared.
<p> Below that each data-table is listed, and if you click it you will
be taken into a view of that table, with all its columnt.
<p> In the field <b>Custom SQL query</b> you can write your own queries
to select, modify or even delete data. Please visit our
<a href="https://swinnoproject.github.io/living_codebook/">codebook</a>
for details on which tables and fields are available.
tables:
innovation_article:
hidden: true
innovation_entity:
hidden: true
sinno_id1_translator:
hidden: true
queries:
Find innovation by name:
sql: |-
select
id,
name_sv,
name_en,
year,
desc_sv
from
innovation
where
name_sv like "%" || :name || "%"
or
name_en like "%" || :name || "%"
order by
year
descriptioin_html: |-
This view lists the number of commercialized and patented innovations
from 1970 to 2020.
Find innovation by firm name:
sql: |-
select
i.id as innovation_id,
name_sv,
name_en,
year,
desc_sv,
name as firm_name,
group_concat(variantname) as firm_name_variants
from
innovation as i
join innovation_entity as ei on i.id == ei.innovation_id
and ei.type == 1
join entity as e on e.id == ei.entity_id
left outer join name_variant as nv on nv.source_id == ei.entity_id
where
name like "%" || :name || "%"
or variantname like "%" || :name || "%"
group by
innovation_id
order by
year
descriptioin_html: |-
This view lists the number of commercialized and patented innovations
from 1970 to 2020.
Timeline of commercialized and patented innovations:
sql: |-
select
year,
count(*) as Innovations,
sum(patented) as patented_innovations
from
innovation
group by
year
having
year between 1970
and 2020
order by
year
descriptioin_html: |-
This view lists the number of commercialized and patented innovations
from 1970 to 2020.
Most innovative firms:
sql: |-
select
e.name as name,
count(*) as num_innovations
from
innovation as i
join innovation_entity as ie on i.id == ie.innovation_id
join entity as e on e.id == ie.entity_id
where
ie.type == 1
and name != "N/A"
group by
name
order by
num_innovations desc;
description_html: |-
Lists of firms in order of how many of their innovation are captured
in the the database.
Named innovations with most articles:
sql: |-
select
i.id as inn_id,
name_sv,
count(*) as num_articles
from
innovation as i
join innovation_article as ia on i.id == ia.innovation_id
where name_sv != ""
group by
inn_id
order by
num_articles desc
description_html: |-
Lists of named innovations in order of how many articles that
mention them.