apply.email.exclusions: Apply Email Exclusoins

Description Usage Arguments Value

View source: R/apply.email.exclusions.R

Description

Apply the standard Millikin email exclusions to a mailing list.

Usage

1
2
3
4
5
6
7
8
9
apply.email.exclusions(
  df,
  idcol = "pidm",
  primary.only = F,
  include.students = F,
  sol = F,
  exclude.fall = F,
  exclude.spring = F
)

Arguments

df

A data frame to be used as a mailing list.

idcol

A character string describing the name of the id column. Defaults to "pidm". If prefemail, deceased, primdnrind and excl columns do not exist in df, they will be joined in from hallptbl using this column.

primary.only

A logical value indicating wither only the primary contact in a couple be included. Defaults to TRUE.

include.students

A logical value indicating whether or not students should be kept in the list. By default, students are excluded.

sol

A logical vlaue indicating whether or not the mailing is a solicitation. Note that if sol is TRUE, a warning will be generated if both exclude.fall and exclude.spring are FALSE.

exclude.fall

A logical value indicating whether or not constituents with a NFC, No Fall Contact, exclusion code should be excluded.

exclude.spring

A logical value indicating whether or not constituents with a NSC, No Spring Contact, exclusion code should be excluded.

Value

a data frame filtered for a traditional mailing. If prefemail, deceased, primdnrind or excl don't already exist in df, they wil be added


crazybilly/muadc documentation built on March 6, 2021, 4:15 p.m.