Description Usage Arguments Value Examples
View source: R/create_time_at_risk.R
Using census migration data, create a dataframe of "time at risk", ie the time during which someone lived in Manhi<c3><a7>a.
1 | create_time_at_risk(residency, individual, location)
|
residency |
A residency table of identical format to the |
individual |
A individual table of identical format to the |
location |
A location table of identical format to the |
A data.frame
with one row for each person's
uninterrupted period of residency
1 2 3 4 | residency <- get_data(tab = 'residency', dbname = 'openhds')
individual <- get_data(tab = 'individual', dbname = 'openhds')
location <- get_data(tab = 'location', dbname = 'openhds')
time_at_risk <- create_time_at_risk(residency = residency, individual = individual, location = location)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.