remove_nonUSA: Remove foreign addresses from address file

Description Usage Arguments Details Value Note Author(s) Examples

Description

This function strips any data frame row whose business or mailing addresses don't correspond to a valid US state.

Usage

1

Arguments

x

A data frame in the SEC's format

Details

This function will strip away any company that contains any address that is outside of the United States. In addition, if the incorporated state field is empty, it get populated from the business address, or if the business address is blank, from the mailing address.

Value

A data frame containing only companies registered in a US state

Note

This function removes companies from US territories, as well as foreign companies.

Author(s)

Nick Lukianoff

Examples

1

NickSEC/SECAddresses documentation built on May 7, 2019, 6:07 p.m.