Skip to contents

Search for companies based on Standard Industrial Classification.

Usage

sec_search_companies(SIC, start = 0, limit = Inf,
  user = Sys.getenv("SEC_USER"), verbose = TRUE)

Arguments

SIC

Standard Industrial Classification code (e.g., 2080).

start

Number of results to skip.

limit

Maximum number of results to return, in steps of 100.

user

User agent string (e.g., "Company Name AdminContact@example.com"); defaults to the SEC_USER environment variable, which can be set with Sys.setenv (e.g., Sys.setenv(SEC_USER = "...")).

verbose

Logical; if FALSE, will not show status updates.

Value

A data.frame of results, with columns for CIK (Central Index Key), Company, and Location.

See also

For more complete results, see sec_search.

Examples

if (FALSE) {

# get a list of beverage companies
sec_search_companies(2080)
}