Learn R Programming

insee (version 1.1.7)

search_insee: Search a pattern among insee datasets and idbanks

Description

Search a pattern among insee datasets and idbanks

Usage

search_insee(pattern = ".*")

Value

the dataset and idbank table filtered with the pattern

Arguments

pattern

string used to filter the dataset and idbank list

Details

The data related to idbanks is stored internally in the package and might the most up to date. The function ignores accents and cases.

Examples

Run this code
# \donttest{
# 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()
# }

Run the code above in your browser using DataLab