Francisco Palm (map0logo)
22/02/2015
http://www.ine.gob.ve/index.php?option=com_content&view=category&id=108&Itemid=62
http://www.ine.gob.ve/documentos/Economia/IndicedePreciosalconsumidor/xls/PorCiudades/4_6_3.xls
Data is a Microsoft Excel File with 75 sheets, each one containing monthly IPC data from jan 2008 to may 2014 in 10 largest Venezuela cities for 13 “domains” (food, alcoholic beverages, clothing, rental housing, …).
Loading data it is quite tricky because this spreadsheet is edited by hand, so
there are little and annoying differences on data location. See read_data.R in https://github.com/map0logo/devdataprod-011 repo for details.
load("data.Rdata")
data with: 1050 observations and
14 variables.The interface has a sidebarPanel:
dateRangeInput for datesselectInput for cities, andselectInput for DomainsAnd a mainPanel which generates an automatic plot of CPI time series along
selected date range for selected Cities faceted by domains.
This plot is generated using ggplot2
Here we have an screenshot of this app:
This application is published in https://mapologo.shinyapps.io/dp_mapologo
Is a small demonstration to show the power and flexibility to generate dynamic reports directly from the data. Reproducible Public Data.
Instead of offering cumbersome and impractical Excel files, Shiny applications allow to display information in an attractive and dynamic format, much more useful to gain understanding and consequently more suitable for analysis and informed decision making.