Skip to content

Commit

Permalink
Merge pull request #3 from ntkog/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ntkog committed May 21, 2019
2 parents 1d606e4 + 153cb76 commit e9fe664
Show file tree
Hide file tree
Showing 20 changed files with 61,551 additions and 48,604 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
config.json
config/twitter_credentials.json
node_modules/
tweets.csv
data/unlocated.js
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ También puedes configurar los geocodificacodes modificando el fichero **[src/ge

Y por último, para la iniciar el script tan sólo es necesario ejecutar desde la consola de comandos:

`$ node emitter.js "PP,PSOE,VOX,CIUDADANOS"`
`$ node emitter.js "PP,PSOE,VOX,CIUDADANOS" <geocoder>`

> Nota: <geocoder> puede contener el valor `name` de cualquiera de los geocodificadores de src/external_geocoders.js (nominatim, arcgis, arcgisGlobal)
Donde el segundo parámetro el un hashtag o varios separados por comas.

Expand Down
37 changes: 37 additions & 0 deletions config/elections.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"words" : {
"pp": [
"PP",
"pablocasado_",
"Casado",
"ppopular"
],
"psoe": [
"PSOE",
"sanchezcastejon",
"Sanchez"
],
"podemos": [
"Podemos",
"pablo_iglesias_",
"ahorapodemos"
],
"ciudadanos": [
"Ciudadanos",
"Albert_Rivera",
"Rivera",
"ciudadanoscs"
],
"vox": [
"VOX",
"santi_abascal",
"Abascal",
"vox_es"
]
},
"ws" : {
"host" : "localhost",
"port" : 8888,
"protocol" : "ws"
}
}
Loading

0 comments on commit e9fe664

Please sign in to comment.