search_insee: Search a pattern among insee datasets and idbanks

Description Usage Arguments Details Value Examples

View source: R/search_insee.R

Description

Search a pattern among insee datasets and idbanks

Usage

1

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.

Value

the dataset and idbank table filtered with the pattern

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# 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()

hadrilec/insee documentation built on Oct. 13, 2021, 12:03 p.m.