los: Sets up length of stay.

View source: R/los.R

losR Documentation

Sets up length of stay.

Description

los creates a move in date for calculating time in public housing.

Usage

los(df)

Arguments

df

A data frame

Details

This function takes the cleaned up/combined PHA data and calculates a set of move-in dates. These can be used to calculate the length of time in housing overall (if the person moved between KCHA and SHA), at the PHA, and in a given program. Relies on overlap and cumul_overlap For now, it is assumed that the df has variables called pid, period, agency_new, and subsidy_type.

Examples

## Not run: 
los(pha_longitudinal)

## End(Not run)


PHSKC-APDE/Housing documentation built on Feb. 6, 2024, 3:27 a.m.