count_list | R Documentation |
Count the non-missing elements of a list variable
count_list( df, var_pattern, missing_vals = c("##N/A##", "", NA_character_), attrib_name, attrib_vars = var_pattern )
df |
Data frame. Household-level microdata that contains the attribute to extract. |
var_pattern |
Character. Regular expression used to select variables to be counted. |
missing_vals |
Character. Values that describes an empty element of a list variable. |
attrib_name |
Character. Name to give the attribute in the issues data file |
attrib_vars |
Character. Regular expression that identifies the variable in |
Data frame of attributes with the following columns:
interview__id
interview__key
attrib_name
attrib_val
attrib_vars
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.