-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revisar #22
Open
Oralia
wants to merge
30
commits into
Laboratoria:master
Choose a base branch
from
Oralia:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Revisar #22
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
7d0d1e6
Principios de maquetacion
Oralia a39f21e
cambios
abigail-sanlo 363f4ed
editando estilo
abigail-sanlo a690898
Muestra los menus para cada pais y regresa a menu principal
Oralia 7b33d34
Implementando Responsive Design
Oralia ab0e657
pages
Oralia 83f99cd
implementando data
abigail-sanlo cc7be4e
primeros filtros
Oralia 2f95833
Haciendo funciones para mostrar los indicadores en HTML
Oralia e6808f3
trabajando con los indicadores
Oralia 283a942
Muestra el menu
Oralia 6f390cc
probando
Oralia 2094d15
Filtros para Brasil (se implementara para los 4 paises)
Oralia bb7e210
Filtro para cualquier pais, falta leer el pais
Oralia 573eedf
haciendo la funcion para mostrat el menu de indicadores
Oralia 4d429e3
Falta mostrar los filtros en la pantalla
Oralia 5caee79
Muestra los indicadores para cada Pais, falta indicar el pais desde e…
Oralia 283b599
Modifiando el estilo
Oralia 1fec52e
Muestra las opciones para el indicador empleo, falta implementar los …
Oralia c685917
modificando readme
abigail-sanlo 32796c6
modif readme
abigail-sanlo 1337c3c
muestra el menu de indicadores y los indicadores para cada pais
Oralia 0d7d917
Muestra el menu de incadores y los indicadores para cada pais
Oralia 2765144
Se modifica el readme
Oralia 784cf75
Grafica los datos
Oralia 0755906
add graphics
Oralia 46d84a8
modified style
Oralia e72c3b0
add README
Oralia 4d2632a
Merge pull request #3 from Oralia/developmet
Oralia 25e5910
Edit README
Oralia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,74 +8,82 @@ console.log(data); | |
|
||
//Filtro que prporciona los ndicadores que contienen la palabra mujer en Peru | ||
|
||
let newdataPeru = data.PER.indicators.filter(indicators=> | ||
let newdataBrasil = data.BRA.indicators.filter(indicators=> | ||
{ | ||
return indicators.indicatorName.includes("mujeres") && indicators.indicatorName.includes("empleo") // regExp | ||
return indicators.indicatorName.includes("mujeres") && indicators.indicatorName.includes("Educación") // regExp | ||
}) | ||
|
||
console.log(newdataPeru); | ||
console.log(newdataBrasil); | ||
|
||
//Funcion que retorna los nombres de los indicadores para Peru | ||
for (var i = 0; i < newdataPeru.length; i++) | ||
{ | ||
//Funcion que retorna los nombres de los indicadores para Peru | ||
//for (var i = 0; i < newdataBrasil.length; i++) | ||
//{ | ||
|
||
//let indicatorPeru=newdataBrasil[i].indicatorName; | ||
//console.log(indicatorsSelectBrasil); | ||
|
||
let indicatorPeru=newdataPeru[i].indicatorName; | ||
console.log(indicatorPeru); | ||
//} | ||
|
||
} | ||
for (let i = 0; i < newdataBrasil.length; i++) { | ||
let indicatorList = document.getElementById("indicatorsSelectBrasil"); | ||
let indicator= document.createElement("option"); | ||
//option.value = i; | ||
indicator.text = newdataBrasil[i].indicatorName; | ||
indicatorList.add(indicator); | ||
|
||
} | ||
|
||
|
||
//Filtro que prporciona los indicadores que contienen la palabra mujer en Mexico | ||
//Filtro que prporciona los indicadores que contienen la palabra mujer en Mexico | ||
|
||
//let newdataMexico = data.MEX.indicators.filter(indicator=> | ||
//let newdataMexico = data.MEX.indicators.filter(indicator=> | ||
//{ | ||
//return indicator.indicatorName.includes("mujeres") | ||
//return indicator.indicatorName.includes("mujeres") | ||
//} | ||
|
||
//) | ||
//console.log(newdataMexico); | ||
//) | ||
//console.log(newdataMexico); | ||
|
||
//Filtro que prporciona los ndicadores que contienen la palabra mujer en Brasil | ||
//Filtro que prporciona los ndicadores que contienen la palabra mujer en Brasil | ||
|
||
//let newdataBrasil = data.BRA.indicators.filter(indicator=> | ||
// { | ||
//let newdataBrasil = data.BRA.indicators.filter(indicator=> | ||
// { | ||
// return indicator.indicatorName.includes("mujeres") | ||
//} | ||
|
||
//) | ||
//console.log(newdataBrasil); | ||
//) | ||
//console.log(newdataBrasil); | ||
|
||
//Filtro que prporciona los ndicadores que contienen la palabra mujer en Chile | ||
//Filtro que prporciona los ndicadores que contienen la palabra mujer en Chile | ||
|
||
//let newdataChile = data.CHL.indicators.filter(indicator=> | ||
//let newdataChile = data.CHL.indicators.filter(indicator=> | ||
//{ | ||
//return indicator.indicatorName.includes("mujeres") | ||
//return indicator.indicatorName.includes("mujeres") | ||
//} | ||
|
||
//) | ||
//console.log(newdataChile); | ||
//) | ||
//console.log(newdataChile); | ||
|
||
//Para visualizar que hay en data | ||
//console.log(datos(data)); | ||
//Para visualizar que hay en data | ||
//console.log(datos(data)); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Todo el código comentado mejor eliminarlo |
||
|
||
|
||
//Funcion que muestra el contenido de indicadores de Peru | ||
//Funcion que muestra el contenido de indicadores de Peru | ||
|
||
//function datosPerIn(obj) { | ||
//return data.PER.indicators; | ||
//} | ||
//console.log(datosPerIn(data.PER.indicators)); | ||
//Imprimir | ||
//function datosPerIn(obj) { | ||
// return data.PER.indicators; | ||
//} | ||
//console.log(datosPerIn(data.PER.indicators)); | ||
//function datosPerIn(obj) { | ||
//return data.PER.indicators; | ||
//} | ||
//console.log(datosPerIn(data.PER.indicators)); | ||
//Imprimir | ||
//function datosPerIn(obj) { | ||
// return data.PER.indicators; | ||
//} | ||
//console.log(datosPerIn(data.PER.indicators)); | ||
|
||
//Funcion que indica que los keys de indicadores de Mexico | ||
//Funcion que indica que los keys de indicadores de Mexico | ||
|
||
//function datosMex(obj) { | ||
//return data.MEX.indicators; | ||
//} | ||
//function datosMex(obj) { | ||
//return data.MEX.indicators; | ||
//} | ||
|
||
//console.log(datosMex(data.MEX.indicators)); | ||
//console.log(datosMex(data.MEX.indicators)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Muy bien por crear las opciones dinámicas