Learn R Programming

qmj (version 0.2.1)

Quality Scores for the Russell 3000

Description

Produces quality scores for each of the US companies from the Russell 3000, following the approach described in "Quality Minus Junk" (Asness, Frazzini, & Pedersen, 2013) . The package includes datasets for users who wish to view the most recently uploaded quality scores. It also provides tools to automatically gather relevant financials and stock price information, allowing users to update their data and customize their universe for further analysis.

Copy Link

Version

Install

install.packages('qmj')

Monthly Downloads

150

Version

0.2.1

License

GPL-3

Maintainer

Yanrong Song

Last Published

January 15th, 2025

Functions in qmj (0.2.1)

market_safety

Collects safety z-scores for companies
install_yfinance

Install yfinance and dependencies
get_companies

Builds a companies data frame from a text file.
get_info

Gets raw financial statements from Google Finance.
quality_r3k16

A dataframe of quality scores for companies listed in the Russell 3000
market_payouts

Collects payout z-scores for companies
qmj

Exploring a quality minus junk approach to evaluating stocks
tidy_prices

Formats raw price data.
tidy_balancesheets

Makes raw balancesheet data usable and readable.
clean_downloads

Removes downloaded temporary files.
companies_r3k16

A list of all companies in the Russell 3000 Index
financials_r3k16

Financial statements of all companies in the Russell 3000 index for the past four years
tidy_incomestatements

Makes raw incomestatement data usable and readable.
tidy_helper

Main helper function for all tidy functions.
prices_r3k16

A dataframe of price returns and closing prices for companies in the Russell 3000 Index
get_prices

Grab daily prices and price returns for the previous two years.
tidyinfo

Formats raw financial data.
tidy_cashflows

Makes raw cash flow data usable and readable.
market_growth

Collects growth z-scores for companies
market_profitability

Collects profitability z-scores for companies
market_data

Produces component and quality scores.