fill_sic_codes: Fill missing SIC codes from company header

View source: R/get-compustat.R

fill_sic_codesR Documentation

Fill missing SIC codes from company header

Description

Internal function that joins fundamentals data with company header to fill missing historical SIC codes using coalesce.

Usage

fill_sic_codes(tbl, wrds)

Arguments

tbl

A lazy table from funda/fundq.

wrds

Database connection.

Value

A collected tibble with sic column (character, coalesced from sich and header sic).


wrds documentation built on May 11, 2026, 5:06 p.m.