tests/testthat/sample-data.r

suppressMessages(require(dplyr))

sample_names_data <- c("jane", "jane", "madison", "madison")
sample_years_ssa  <- c(rep(c(1930, 2010), 2))
sample_years_ipums  <- c(rep(c(1830, 1880), 2))

sample_names_df <- tibble(names = sample_names_data,
                              years = sample_years_ssa)

sample_names_df_big <- bind_rows(sample_names_df, sample_names_df)

Try the gender package in your browser

Any scripts or data that you put into this service are public.

gender documentation built on Oct. 13, 2021, 5:08 p.m.