Publications by Coda Rayo-Garza
Dissimilarity: Racial & Political
Segregation Author Coda library(tidycensus) library(dplyr) Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union library(tidyverse) ── Attaching core tidyverse packages ────────�...
715 sym R (31708 sym/40 pcs) 3 img
3 Easy Visuals With Tidycensus
Spark Talk Author Coda Rayo-Garza 3 Super Easy Visuals Using Tidycensus 1. A Basic Map Here, we are mapping median income data from the American Community Survey 2021 5 Year Estimates library(tidycensus) Warning: package 'tidycensus' was built under R version 4.2.3 library(tidyverse) Warning: package 'tidyverse' was built under R version 4...
3781 sym R (13655 sym/65 pcs) 6 img
Mapping Drinking Businesses/Locations in Select Zips
Mapping Drinking Businesses Author Coda Rayo-Garza HW 5: Mapping Businesses That Offer Alcohol library(mapview) library(sf) Linking to GEOS 3.9.3, GDAL 3.5.2, PROJ 8.2.1; sf_use_s2() is TRUE library(censusxy) library(dplyr) Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following ...
734 sym R (27827 sym/48 pcs) 1 img
Mapping Grocery Stores in SA
Geocodes HW 4 Author Coda Rayo-Garza Let’s map some grocery stores in San Antonio! For this project, I am using the AtoZ Database to download businesses by NAICS Codes. I used 445110 to identify grocery stores in the zip codes 78207, 78201, and 78204. Step 1 Load the libraries and import the data. library(censusxy) library(readr) library(...
610 sym
HW 3
Table of contents HW 3 Use projected distance calculation Without changing the coordinate system, the projected distance is 19555.86 meters. Divided by 1609.34, that’s 12.15148, which is close to the 12.13 we got when we transformed the coordinate system. Using QGIS HW3 Author Coda Rayo-Garza HW 3 #|echo: false #|warning: false #|resul...
1011 sym R (5742 sym/34 pcs) 1 img
7093 QGIS/R Screenshots
7093_R/QGIS Screenshot Author Coda Rayo-Garza HW 1 coda.rayo-garza@utsa.edu Here is a screenshot of my R version Here is a screenshot of my QGIS: ...
167 sym 2 img
Dallas County Food Insecurity by Race/Ethnicity
Food Insecurity Author Coda library(tidycensus) library(dplyr) Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union library(sf) Linking to GEOS 3.9.3, GDAL 3.5.2, PROJ 8.2.1; sf_use_s2() is TRUE ...
129 sym Python (4918 sym/23 pcs)
HW_2_Bexar County ACS Tidycensus
Table of contents DEM 7093: Basic Maps Using Tidycensus + Saving Dataframe as Shapefile for QGIS Examine data profile tables Search for variables by keywords in the label Extract from ACS summary file data Create a county FIPS code - 5 digit Optional* Write data out to a shapefile Mapping Variables with GGplot Making An Interactive Map Using Ma...
1180 sym R (27559 sym/19 pcs) 4 img
HW2_Survival Analysis
Table of contents Homework #2 Data Prep Defining Variables Estimating the Survival Function + Plot Group Comparison Homework 2 Author Coda Rayo-Garza Homework #2 Data Prep For my dataset I am using DHS data for Colombia, year 2015. The code below is from Dr. Sparks. It joins the two files together to have multigenerational household id a...
2632 sym Python (5248 sym/21 pcs) 4 img 2 tbl
HW 3_Fitting models
Table of contents Instructions for HW 3 First, load the libraries and prep the Data Estimate the empirical hazard function Adding Covariates and Fitting the model Defining Covariates 1. AFT Model With Exponential Distribution 2. PH With Weibull Distribution 3. PH with Log Normal Distribution - A No Go! 4. PH with Log-Logistic Distribution 5. ...
4202 sym R (8888 sym/44 pcs) 8 img