search_insee | R Documentation |
Search a pattern among insee datasets and idbanks
search_insee(pattern = ".*")
pattern |
string used to filter the dataset and idbank list |
The data related to idbanks is stored internally in the package and might the most up to date. The function ignores accents and cases.
the dataset and idbank table filtered with the pattern
# example 1 : search one pattern, the accents do not matter
writeLines("the word 'enqu\U00EAte' (meaning survey in French) will match with 'enquete'")
dataset_enquete = search_insee("enquete")
# example 2 : search multiple patterns
dataset_survey_gdp = search_insee("Survey|gdp")
# example 3 : data about paris
data_paris = search_insee('paris')
# example 4 : all data
data_all = search_insee()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.