Skip to content

Instantly share code, notes, and snippets.

@civera2
Last active April 27, 2020 18:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save civera2/7e7730d0c15ae5864fe29f3ba6fe787b to your computer and use it in GitHub Desktop.
Save civera2/7e7730d0c15ae5864fe29f3ba6fe787b to your computer and use it in GitHub Desktop.
-- éste es un ejemplo
group: CASO4
LEY = {
num:number, nombre:string, cant_art:number, fecha:date, ambito:string, dni:number
20424 , 'Explotacion de Fosfato' , 14 , 2000-12-21 , 'Mineria' , 12432123
19654 , 'Explotacion de salmon' , 11 , 2000-11-22 , 'Pesca' , 12432123
11266 , 'Recursos Renovables' , 20 , 2002-12-22 , 'Medio Ambiente' , 15987123
20425 , 'Desechos peligrosos' , 20 , 2002-12-22 , 'Medio Ambiente' , 12555446
30900 , 'Residuos Patogénicos' ,34 , 2000-11-01 ,'Medio Ambiente' , 12555446
}
DIP = {
dni:number, nombre:string, tel:string, prov:string, partido:string, fecha_d:date, fecha_h:date
12432123 , 'Jose' , '26455875634', 'San Juan' , 'Cambiemos' , 2001-12-21 , 2004-12-21
15987123 , 'Pedro' , '26455889120', 'Mendoza' , 'Justicialista' , 2002-12-15 , 2009-12-21
12555446 , 'Luis' , '26455889333', 'San Luis' , 'Union Civica Radical' , 2006-12-11 , 2012-12-21
13555446 , 'Juan' , '26423889333', 'San Luis' , 'Union Civica Radical' , 2002-12-18 , 2012-12-21
}
SEN = {
dni:number, nombre:string, tel:string, mat:number, prov:string, partido:string, fecha_d:date, fecha_h:date
22442123 , 'Carlos' , '26495875334' , 1235 , 'Mendoza' , 'Cambiemos' , 2001-11-17 , 2008-12-16
28442173 , 'Luis' , '2642687334' , 3745 , 'San Juan' , 'Justicialista' , 2000-10-14 , 2005-12-17
23442173 , 'Luis' , '2642787334' , 3745 , 'San Luis' , 'Justicialista' , 2001-12-14 , 2007-12-11
}
VotosD = {
dni:number, num:number, voto:string
12432123, 20424 , 'SI'
12432123, 19654 , 'SI'
12432123, 11266 , 'NO'
12432123, 20425 , 'AB'
15987123, 20424, 'NO'
15987123, 19654 , 'SI'
15987123, 11266 , 'SI'
15987123, 20425 , 'NO'
12555446, 20424, 'NO'
12555446, 19654 , 'SI'
12555446, 11266 , 'NO'
12555446, 20425 , 'SI'
13555446, 20424, 'NO'
13555446, 19654 , 'NO'
13555446, 11266 , 'NO'
13555446, 20425 , 'NO'
12432123, 30900 , 'SI'
}
VotosS = {
dnis:number, num:number, voto:string
22442123, 20424 , 'SI'
22442123, 19654 , 'SI'
22442123, 11266 , 'SI'
22442123, 20425 , 'SI'
28442173, 20424 , 'AB'
28442173, 19654 , 'NO'
28442173, 11266 , 'NO'
28442173, 20425 , 'NO'
23442173, 20424 , 'AB'
23442173, 19654 , 'NO'
23442173, 11266 , 'SI'
23442173, 20425 , 'NO'
}
Adhiere = {
nomp:string, num:number, fecha:date
'San Juan', 20424, 2018-12-17
'San Juan', 19654, 2018-11-18
'San Juan', 11266, 2018-12-15
'San Juan', 20425, 2005-02-18
'Mendoza' , 20424, 2001-12-21
'San Luis', 20424, 2002-04-25
'San Luis', 11266, 2018-04-25
}
Prov = {
nomp:string, sup:number, cantdip:number, cantis:number
'San Juan', 89, 1, 1
'Mendoza' , 54, 1, 1
'San Luis', 76, 2, 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment