View source: R/get_var_src_codes.R
get_var_src_codes | R Documentation |
Facilitates quick filtering and selecting
get_var_src_codes(..., out, drop = TRUE)
... |
a list of unnamed arguments to pass to |
out |
a list of arguments to pass to |
drop |
logical. if the filtering & selection lead to a data.frame whose dimensions would ordinarily be dropped using z[x,y] location, should the dimensions be dropped? |
get_var_src_codes()
unique(get_var_src_codes(var=="baro", out='var'))
get_var_src_codes(var=="baro", out='var', drop=FALSE)
get_var_src_codes(var=="baro", out=c('var','var_descrip'))
get_var_src_codes(var=="baro", out=c('var','var_descrip'), drop=FALSE)
get_var_src_codes(out=c('var','var_src','p_code'))
get_var_src_codes(src_type=="data", !is.na(p_code),
out=list('var','var_src','p_code', 'src_type'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.