-
Notifications
You must be signed in to change notification settings - Fork 16
/
datapackage.json
206 lines (206 loc) · 6.96 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
{
"name": "br-cities",
"title": "Municipalities of Brazil and IBGE codes",
"description": "Brazilian city names, official codes (IBGE), and abbreviations throughout the country's history",
"repository": {
"type": "git",
"url": "http://datasets.ok.org.br/city-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": "Lista de municípios do Brasil -- Wikipedia",
"name": "Wikipedia",
"web": "https://pt.wikipedia.org/wiki/Lista_de_munic%C3%ADpios_do_Brasil"
}
],
"keywords": [
"geodata",
"city",
"brazil"
],
"license": {
"type": "ODC-PDDL",
"url": "http://opendatacommons.org/licenses/pddl/1.0/"
},
"resources": [
{
"name": "br-city-synonyms.csv",
"path": "data/br-city-synonyms.csv",
"format": "csv",
"mediatype": "text/csv",
"rdfType": "https://www.wikidata.org/wiki/Q42106",
"lang": "pt",
"schema": {
"fields": [
{
"name": "synonym",
"description": "Usual synonym of the name of the city, in portuguese",
"rdfType-prop": "http://schema.org/name",
"title-pt":"Sinônimo",
"title":"Synonym",
"type": "string"
},
{
"name": "wdId",
"description": "Wikidata concept (semantic) identifier",
"urlTpl": "https://www.wikidata.org/wiki/{value}",
"title-pt":"ID Wikidata",
"title":"Wikidata ID",
"type": "string"
},
{
"name": "cur_state",
"description": "Current 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": "cur_lexLabel",
"description": "Current 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": "type",
"description": "Synonym type",
"title-pt":"Tipo",
"title":"Type",
"type": "string"
},
{
"name": "ref",
"description": "source of use or reference (uri or controlled name)",
"title-pt":"Referência de uso",
"title":"Source or reference",
"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": ["wdId","synonym"]
},
{
"name": "br-city-codes",
"path": "data/br-city-codes.csv",
"format": "csv",
"mediatype": "text/csv",
"rdfType": "http://schema.org/City",
"lang": "pt",
"schema": {
"fields": [
{
"name": "name",
"description": "Official name of the city, in portuguese",
"rdfType-prop": "http://schema.org/name",
"title-pt":"Nome",
"title":"Name",
"type": "string"
},
{
"name": "state",
"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": "wdId",
"description": "Wikidata concept (semantic) identifier",
"urlTpl": "https://www.wikidata.org/wiki/{value}",
"title-pt":"ID Wikidata",
"title":"Wikidata ID",
"type": "string"
},
{
"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": "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": "postalCode_ranges",
"description": "Numeric ranges of postal codes",
"rdfType-ref": "https://schema.org/postalCode",
"title-pt":"Intervalos de CEP",
"title":"Postal-code ranges",
"type": "string"
},
{
"name": "ddd",
"description": "Brazilian telephone's area code (DDD - Discagem Direta a Distância)",
"rdfType-ref": "https://www.wikidata.org/wiki/Q11480109",
"title-pt":"DDD",
"title":"tel. area code",
"type": "integer"
},
{
"name": "abbrev3",
"description": "Abbreviations of ANATEL 2013, non-complete and non-official",
"rdfType-ref": "https://www.wikidata.org/wiki/Q102786",
"title-pt":"Abreviação 3-letras Anatel2013",
"title":"Abbreviation-3letter",
"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": ["state","lexLabel"]
}
]
}