find_IFdata_json: Formats the path to a local or remote IF.data JSON file from...

View source: R/utils.R

find_IFdata_jsonR Documentation

Formats the path to a local or remote IF.data JSON file from the respective quarter.

Description

Formats the path to a local or remote IF.data JSON file from the respective quarter.

Usage

find_IFdata_json(
  yyyymm = NULL,
  file_name,
  cache_folder_name = "cache_json",
  cache_json = TRUE
)

Arguments

yyyymm

Quarter

file_name

The name of the JSON file (including the extension) to be retrieved locally or remotely.

cache_folder_name

The local folder where the JSON files are (to be) cached.

cache_json

TRUE. Whether the JSON files with the raw data should be cached locally.

Value

The path to the JSON file saved locally (if 'cache_json' is TRUE) or to its URL if FALSE.


dkgaraujo/brazilianbanks documentation built on Jan. 12, 2025, 3:47 p.m.