igebase_search: Search information about data available through IGE API

Description Usage Arguments Value Examples

Description

This funcion allows finds those tables that match the search term and returns a data frame with results

Usage

1
2
igebase_search(pattern, fields = "label", extra = FALSE,
  exact = FALSE, cache)

Arguments

pattern

Character string or regular expression to be matched.

fields

Character vector of column name through which to search.

extra

if FALSE, only the ID and label are returned, if TRUE, all columns of the cache are returned.

exact

Search for the exact pattern.

cache

Data frame with metadata about API and IGE information.

Value

Data frame with metadata that match the search term.

Examples

1
2
3
4
5
6
7
8
igebase_search("temperatura")
igebase_search("temperatura", extra = TRUE)

# with regular expression operators
igebase_search(pattern = "temperatura|poboaciĆ³n")

# with exact expression
igebase_search("Temperaturas e insolaciĆ³n", exact = TRUE)

jmcartiles/igebaser documentation built on May 10, 2019, 2:44 p.m.