Publications by Jose
Starter Code
R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within...
598 sym 1 img
Class playlist assignment
/ ## Load tidy Verse library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ ggplot2 3.4.4 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.3 �...
2592 sym R (4320 sym/25 pcs)
Publish Document
Introducción La base de datos para el siguiente análsisi es extraído de Yahoo Finance (a través de la técnica scraping) y trata sobre el precio de las acciones de McDonalds. Instalación de librerias #install.packages('quantmod') # librería para hacer scraping #install.packages('tseries') #install.packages('timeSeries') #install.packages('fo...
1159 sym R (6621 sym/41 pcs) 8 img
MODELO ARIMA
Instalación de librerias install.packages('quantmod') # librería para hacer scraping ## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.3' ## (as 'lib' is unspecified) install.packages('tseries') ## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.3' ## (as 'lib' is unspecified) install.packages('timeSeries') ##...
2397 sym R (5160 sym/55 pcs) 11 img
scraping
Instalacion de paqueteria “quantmod” install.packages("quantmod") ## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.3' ## (as 'lib' is unspecified) Ejecucion de la libreria “quantmod” library(quantmod) ## Loading required package: xts ## Loading required package: zoo ## ## Attaching package: 'zoo' ## The following objec...
143 sym R (2779 sym/13 pcs) 1 img
Ejercicio clase 9
Resumen México se ha caracterizado por ser un país con un reducido crecimiento económico y baja calidad institucional política debido al incumplimiento de las normas establecidas, altos niveles de corrupción y una elevada incertidumbre sobre la seguridad social. El presente trabajo tiene el objetivo analizar la relación entre eficiencia de la...
11349 sym R (17877 sym/35 pcs) 2 img
Mexico City’s Metro Statistics
I used R and ggplot2 to make a bubble map of Mexico City’s Metro passenger count from January to February 2012. The statistics are stunning, some stations for example Indios Verdes, reached 10 million passengers in jus three months. You can see the code below and get the data for the project here. #Statistical analysis of Mexico City's Metro #...
784 sym R (1065 sym/1 pcs) 2 img
Using Google maps API and R
This post shows how to use Google Maps‘ API with R. Combine the first part with Plyr and it becomes a very powerful tool in just a few lines of code. You can find a gist in RMarkdown with the code here or click below to continue reading. #### This script uses RCurl and RJSONIO to download data from Google's API: #### Latitude, longitude, loca...
710 sym R (2183 sym/1 pcs) 2 img
How to create a geojson in R
This is a short but sweet post on how to create a geojson file in R . Remember that you can render geojson files in github. The post How to create a geojson in R appeared first on Jose Gonzalez. Related To leave a comment for the author, please follow the link and comment on their blog: Jose Gonzalez » R. R-bloggers.com offers daily e-ma...
597 sym
Poverty and Crime in Mexico – Interactive Map
How safe is Mexico? That is a frequent question people ask me. There is even website about it (see this blog post). So I’ve decided it was time to go one step further and make an interactive map (click here for full screen) of poverty and crime in Mexico. The objective was to see which municipalities have higher crime rates and visually c...
2359 sym 4 img