This repository includes all the files and scripts to reproduce the analysis of tweets on the Ecuadorian Social Security Institute (IESS).
R
andRStudio
are required for reproducing the analysis. Further documentation here.- Apart from installing the necessary packages listed in
twitter_analysis.R
,Java
must be installed and configured withinRStudio
. For this, first download and install Java from this link. Then open Windows'cmd
and excecute the following code line:
setx PATH "C:\Program Files\Java\jre1.8.0_211\bin\server;%PATH%"
Finally set Java
environment running the following command inside the RStudio
's console:
Sys.setenv(JAVA_HOME = "")
For more details on this process, please visit StackOverflow.
Check that the following files are in the data
folder:
provincias.dbf
provincias.shp
provincias.shx
tweets_iess_list.RData
provincias.dbf
, provincias.shp
and provincias.shx
are used to plot map.png
.
tweets_iess_list.RData
is the source dataset for performing the analysis.
To reproduce the analysis, run twitter_analysis.R
from code
folder.
- The analysis will be automatically reproduced.
- Three images will be created/overwrited inside
images
.
This repository has two reports, both within the report
folder.
- Report 1: The first report is the
report.pdf
file. To replicate it: download and unzipreport.zip
, then compile it usingLaTex
. - Report 2: This analysis was created for publication in El Quantificador. For this purpose, a short spanish version of the report is available at the
report_spanish
folder, as a file calledreport.Rmd
. The respective.html
compilation, bibliography and references styling files are also accessible. This report focuses on a mass audience.