forked from datasets-br/state-codes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
datapackage.json
233 lines (233 loc) · 8.02 KB
/
datapackage.json
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
{
"name": "br-state-codes",
"title": "Federation units of Brazil and ISO3166:BR",
"description": "Brazilian states 2-letter codes (ISO 3166-2:BR), official 'Unidades da Federação' abbreviations throughout the country's history",
"repository": {
"type": "git",
"url": "http://datasets.ok.org.br/state-codes"
},
"sources": [{
"title": "Codes for the representation of names of countries and their subdivisions, Brazil",
"name": "ISO",
"web": "https://www.iso.org/obp/ui/#iso:code:3166:BR"
},
{
"title": "CONHEÇA CIDADES E ESTADOS DO BRASIL",
"name": "IBGE",
"web": "https://cidades.ibge.gov.br/v4"
},
{
"title": "ISO 3166-2:BR -- Wikipedia",
"name": "Wikipedia,ISO",
"web": "https://en.wikipedia.org/wiki/ISO_3166-2:BR"
},
{
"title": "Unidades federativas do Brasil -- Wikipedia",
"name": "Wikipedia",
"web": "https://pt.wikipedia.org/wiki/Unidades_federativas_do_Brasil"
}
],
"keywords": [
"geodata",
"state",
"brazil"
],
"license": {
"type": "ODC-PDDL",
"url": "http://opendatacommons.org/licenses/pddl/1.0/"
},
"resources": [
{
"name": "ref-applications.csv",
"path": "data/ref-applications.csv",
"url": "https://raw.githubusercontent.com/datasets-br/state-codes/master/data/ref-applications.csv",
"format": "csv",
"mediatype": "text/csv",
"rdfType": "http://schema.org/SoftwareApplication",
"title": "Applications using the br-state-codes dataset",
"lang": "en",
"schema": {
"fields": [
{
"name": "report",
"description": "Label of the report describing the project",
"type": "string"
},
{
"name": "name",
"description": "The title or name of the project",
"rdfType-prop": "http://schema.org/name",
"type": "string"
},
{
"name": "url",
"description": "the URL of the project",
"rdfType-prop": "http://schema.org/url",
"type": "string",
"format": "uri"
},
{
"name": "adherence",
"description": "Degree of adherence to br-state-codes use",
"type": "string"
},
{
"name": "usedColumns",
"description": "the used columns of br-state-codes in the project, separating by commas",
"type": "string"
},
{
"name": "description",
"description": "A synopsis about the use of the dataset in the project",
"rdfType-prop": "http://schema.org/about",
"type": "string"
}
]
}
},
{
"name": "br-state-codes",
"path": "data/country-codes.csv",
"url": "https://raw.githubusercontent.com/datasets-br/state-codes/master/data/br-state-codes.csv",
"format": "csv",
"mediatype": "text/csv",
"rdfType": "http://schema.org/State",
"lang": "en",
"schema": {
"fields": [
{
"name": "subdivision",
"description": "State-name 2-letter abbreviation (in portuguese 'sigla da unidade da federação'), ISO 3166:BR",
"rdfType": "https://www.wikidata.org/wiki/Q27798",
"type": "string",
"title-pt":"Subdivisão (UF)",
"title":"Subdivision (Federal Unit)",
"regex": "^[A-Z]{2,2}$"
},
{
"name": "name_prefix",
"description": "Name prefix, in portuguese",
"rdfType-prop": "http://schema.org/name",
"title-pt":"Prefixo",
"title":"Prefix",
"type": "string"
},
{
"name": "name",
"description": "Common name of the state, in portuguese",
"rdfType-prop": "http://schema.org/name",
"title-pt":"Nome",
"title":"Name",
"type": "string"
},
{
"name": "id",
"rdfType-prop": "http://schema.org/identifier",
"title-pt":"ID serial",
"title":"Serial ID",
"description": "Short serial ID for subdivisions, starting from 1 (for base36 subtract 1). Historic (non-current) starting from 30.",
"type": "integer"
},
{
"name": "idIBGE",
"description": "IBGE statdandard identifier",
"url": "http://www.ibge.gov.br/home/geociencias/areaterritorial/principal.shtm",
"title-pt":"ID IBGE",
"title":"ID of IBGE",
"type": "string"
},
{
"name": "place_id",
"description": "Openstreetmap polygn identifier",
"urlTpl": "http://nominatim.openstreetmap.org/details.php?place_id={value}",
"title-pt":"ID Openstreetmap",
"title":"Openstreetmap ID",
"type": "integer"
},
{
"name": "wdId",
"description": "Wikidata concept (semantic) identifier",
"urlTpl": "https://www.wikidata.org/wiki/{value}",
"title-pt":"ID Wikidata",
"title":"Wikidata ID",
"type": "string"
},
{
"name": "lexLabel",
"description": "Brazilian's LEX URN syntax translation of the official state name. Used in URLs and other contexts",
"url": "http://projeto.lexml.gov.br",
"title-pt":"Rótulo para URN-LEX",
"title":"Label for URN-LEX",
"type": "string"
},
{
"name": "creation",
"description": "State official creation year",
"rdfType-prop": "http://schema.org/startDate",
"title-pt":"Ano de criação",
"title":"Creation year",
"type": "integer"
},
{
"name": "extinction",
"description": "State official creation year (null for in use)",
"rdfType-prop": "http://schema.org/endDate",
"title-pt":"Ano de extinção",
"title":"Extinction year",
"type": "integer"
},
{
"name": "category",
"description": "Subdivision category (see ISO 3166-2)",
"title-pt":"Última classificação de nível",
"title":"Category",
"type": "string"
},
{
"name": "timeZone",
"description": "Time Zone standard label",
"rdfType": "https://www.wikidata.org/wiki/Q12143",
"title-pt":"Fuso horário de referência",
"title":"Time Zone (reference city)",
"type": "string"
},
{
"name": "utcOffset",
"description": "UTC offset",
"rdfType": "https://www.wikidata.org/wiki/Q187110",
"title-pt":"Diferença com relação ao UTC",
"title":"UTC offset",
"type": "integer"
},
{
"name": "utcOffset-DST",
"description": "UTC offset at summer (when using Daylight Saving Time - DST)",
"rdfType": "https://www.wikidata.org/wiki/Q187110",
"rdfType-ref": "https://www.wikidata.org/wiki/Q36669",
"title-pt":"Diferença no verão",
"title":"UTC offset at DST",
"type": "integer"
},
{
"name": "postalCode_range",
"description": "Numeric ranges of postal codes",
"rdfType-ref": "https://schema.org/postalCode",
"title-pt":"Intervalos de CEP",
"title":"Postal-code ranges",
"type": "string"
},
{
"name": "notes",
"description": "Notes about assegments, dates or changes",
"rdfType-prop": "http://schema.org/commentText",
"title-pt":"Notas",
"title":"Notes",
"type": "string"
}
]
},
"primaryKey": "id"
}
],
"homepage": "https://github.com/datasets-br/state-codes"
}