Publications by Rebecca Luttinen

Descriptives for fertility-despair project

01.12.2023

Descriptives for fertility-despair project Author Luttinen & Schaefer 1. Load Libraries 2. Import Data (NMFR& Deaths of Despair) *note we are using mortality data from 2005-2016 and non-marital fertility data from 2010-2021 because we are using a 5-year lag between mortality and fertility nmfr <- read_csv("C:/Users/rlutt/OneDrive/Fall 2023/Ad...

1356 sym 10 img

Advanced Demography Assignment 3 (Updated)

22.11.2023

The beginning steps are the same steps from assignment 2, in which I create an age at first marriage variable. #set up age at first marriage variable library(car) ## Loading required package: carData mdata$status <- Recode(mdata$fmarital, recodes= "1 = 1; 5 = 0; 2 = 2; 3=2; 4=2") mdata$evermarried<-Recode(mdata$fmarital,"...

1095 sym R (28928 sym/53 pcs) 2 img

ADV. DEM METHODS HW 3

21.10.2023

The beginning steps are the same steps from assignment 2, in which I create an age at first marriage variable. #set up age at first marriage variable library(car) ## Loading required package: carData mdata$status <- Recode(mdata$fmarital, recodes= "1 = 1; 5 = 0; 2 = 2; 3=2; 4=2") mdata$evermarried<-Recode(mdata$fmarital,"...

2582 sym R (18057 sym/46 pcs) 4 img

ADV. DEM METHODS HW 3

21.10.2023

#set up age at first marriage variable library(car) ## Loading required package: carData mdata$status <- Recode(mdata$fmarital, recodes= "1 = 1; 5 = 0; 2 = 2; 3=2; 4=2") mdata$evermarried<-Recode(mdata$fmarital,"1:4 = 1; 5= 0") library(dplyr) ## ## Attaching package: 'dplyr' ## The following object is masked from 'pack...

980 sym R (17867 sym/46 pcs) 4 img

Advanced Demographic Methods Survival Analysis

14.09.2023

#read in data library(readr) mdata <- read_csv("C:/Users/rlutt/OneDrive/Fall 2023/Advanced Demography/2017_2019_Male_Data.csv") ## Warning: One or more parsing issues, call `problems()` on your data frame for details, ## e.g.: ## dat <- vroom(...) ## problems(dat) ## Rows: 5206 Columns: 3009 ## ── Column specification ─────...

713 sym R (68762 sym/60 pcs) 4 img

Adv. Dem: Survival Analysis

14.09.2023

#read in data library(readr) mdata <- read_csv("C:/Users/rlutt/OneDrive/Fall 2023/Advanced Demography/2017_2019_Male_Data.csv") ## Warning: One or more parsing issues, call `problems()` on your data frame for details, ## e.g.: ## dat <- vroom(...) ## problems(dat) ## Rows: 5206 Columns: 3009 ## ── Column specification ─────...

811 sym R (68762 sym/60 pcs) 4 img

Puerto Rico Fertility Project

11.08.2023

#filter for women in fertility years library(plyr) ## ------------------------------------------------------------------------------ ## You have loaded plyr after dplyr - this is likely to cause problems. ## If you need functions from both plyr and dplyr, please load plyr first, then dplyr: ## library(plyr); library(dplyr) ## ------------------...

35 sym R (10348 sym/32 pcs)

Working Code for Fertility-Despair Project

04.05.2023

Fertility-Despair Project Author R. Luttinen #read in ADI data library(readr) ADI2015 <- read_csv("C:/Users/rlutt/Downloads/adi-download (2)/US_2015_ADI_Census Block Group_v3.1.txt") New names: Rows: 220333 Columns: 5 ── Column specification ───────────────────────────────...

269 sym Python (521428 sym/78 pcs) 8 img

GIS HW 5

06.04.2023

Perform the following analysis of these data: 1. Mean Center of the points - Make a map showing this. 2. Convex hull of the points - Make a map showing this. 3. Spatial join of the points to the ACS layer (in sa_tracts_2019.gpkg). Set the Symbology to Graduated, Pretty Breaks, 5 Classes, for the variable ppov. - Make a map showing this. 4. Near...

899 sym R (25038 sym/41 pcs) 2 img

Geocoding

28.02.2023

Hw. 4 Author R. Luttinen Published February 28, 2023 Geocoding Part 1. WIC services #open packages #download dataset library(censusxy) library(readr) add<-read.csv("C:/Users/rlutt/OneDrive/Spring 2022/GIS data_wic.csv") #view data head(add) Source Date Obsolescence.Date 1 AtoZDatabases 02/23/2023 08/23/2023 2 AtoZData...

725 sym Python (71016 sym/26 pcs)