Description Usage Arguments Value See Also Examples
View source: R/closest_matches.R
This function returns a matrix of n rows and length(a) columns with all names of the closest matches of the variables to the user's query, allowing the user to efficiently gather variables for a data query.
1 | closest_matches(a, category = NULL, n = 10, variable.names = FALSE, ...)
|
a |
Your query, a character vector |
category |
If you want to search within a particular category (hdng_names_cats) |
n |
The amount of variables you want to return. |
variable.names |
= FALSE. Whether you want to include the description or the abbreviation. |
... |
Arguments to be passed on to |
a matrix of n rows and length(a) columns
hdng::hdng_names_cats
1 2 | closest_matches(c("Verkeer", "Bevolking"), n = 20, variable.names = T)
closest_matches(c("Aaantal vrachtwagens", "Aantal autos", "Schoolgaande kinderen"), n = 30)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.