parse_module_data {yfinancer}R Documentation

Parse a module's data into a tidy tibble format

Description

This is the main dispatcher function that routes each Yahoo Finance API module to its appropriate parsing function. It uses a dispatch table to determine which specialized parser to use based on the module name.

Usage

parse_module_data(result_data, module_name)

Arguments

result_data

The raw result data from Yahoo Finance API

module_name

The name of the module to parse (e.g., "assetProfile", "incomeStatementHistory")

Value

A tibble containing the parsed data specific to the module type


[Package yfinancer version 0.1.3 Index]