Skip to main content

download_wrds.download_data_wrds_ccm_links()

Download data from the WRDS CRSP/Compustat Merged (CCM) links database.

Usage

Source

download_wrds.download_data_wrds_ccm_links(
    linktype=("LU", "LC"), linkprim=("P", "C"), quiet=False
)

Parameters

linktype: list or tuple of str = ("LU", "LC")

The types of links to download. Defaults to (“LU”, “LC”).

linkprim: list or tuple of str = ("P", "C")

The primacy of the links. Defaults to (“P”, “C”).

quiet: bool = False
If True, the messages about the WRDS connection and the download progress are suppressed. Defaults to False.

Returns

pl.DataFrame
A data frame containing columns permno, gvkey, linkdt, and linkenddt (missing end dates replaced with today’s date).