count_obs | R Documentation |
TRUE
.Count the number of observations in a non-household level microdata–such as
a parcel, plot, of food item data frame–where a user-provided condition
is TRUE
.
count_obs(df, where, attrib_name, attrib_vars)
df |
Data frame. Household-level microdata that contains the attribute to extract. |
where |
Logical expression whose variables exist in |
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.