View source: R/join_to_party.R
join_1col | R Documentation |
For example, used for referenda where there is only one "seat"
join_1col(tbl, cand, vote_col, join_cols_tbl, join_cols_cand)
tbl |
A wide dataset with the contest |
join_col |
NSE code to indicate variable that is being joined (to ballot_name in cands) |
type |
NSE code for the contest. Will also be used to filter cand if not null. |
... |
geographic variables to segment on #' This assumes that all rows inlcuded in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.