tabnet_csv_retrieval: Retrieve TABNET data in .csv format

View source: R/tabnet_csv_retrieval.R

tabnet_csv_retrievalR Documentation

Retrieve TABNET data in .csv format

Description

Retrieve the indicator data from its url and parameters.

Usage

tabnet_csv_retrieval(
  post_url,
  body,
  colname = "Região",
  ind_name = "Valor",
  skip = 3,
  stopDelta = 7,
  timeout = 4
)

Arguments

post_url

Indicator POST url.

body

Request body containing required information.

colname

The specified region name, like city.

skip

Numeric interval from which the .csv will start to be read.

stopDelta

Numeric interval from which the .csv reading will stop.

timeout

Maximum time interval POST request should take.

Value

Data frame containing data from the indicator specified by the url.


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