tabnet_df_retrieval: TABNET dataframe retrieval from TABNET object

View source: R/tabnet_df.R

tabnet_df_retrievalR Documentation

TABNET dataframe retrieval from TABNET object

Description

Given a TABNET Object and certain parameters, automatically retrieve corresponding data frame

Usage

tabnet_df_retrieval(
  obj,
  line_index = 2,
  ind_index = NULL,
  years_index = NULL,
  onlyMostRecent = FALSE,
  timeout = 4
)

Arguments

obj

TABNET Object

line_index

Chosen line index, defaults to 2 - city

ind_index

Chosen subindicator index, defaults to last one

years_index

Chosen years/years, defaults to most recent available

onlyMostRecent

Boolean. Should only data from most recent year informed be returned?

Value

Corresponding data frame

See Also

[tabnet_csv_retrieval()]

[indicator_df()]

Examples

## Not run: tabnet_df_retrieval(obj, line_index = 3, ind_index = 1, years_index = c(2:4))
## Not run: tabnet_df_retrieval(obj, onlyMostRecent = TRUE)

joaohmorais/rtabnetsp documentation built on July 16, 2024, 12:39 p.m.