transactionFilters: transactionFilters

Description Usage Arguments Value Note

Description

transactionFilters

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
transactionFilterNonderivative(
  filing,
  footnoteKeywords,
  issuerKeywords,
  issuerTradingSymbol,
  rptOwnerKeywords,
  transactionType
)

transactionFilterDerivative(
  filing,
  footnoteKeywords,
  issuerKeywords,
  issuerTradingSymbol,
  rptOwnerKeywords,
  transactionType
)

transactionFilterNonderivativeHoldings(
  filing,
  footnoteKeywords,
  issuerKeywords,
  issuerTradingSymbol,
  rptOwnerKeywords
)

transactionFilterDerivativeHoldings(
  filing,
  footnoteKeywords,
  issuerKeywords,
  issuerTradingSymbol,
  rptOwnerKeywords
)

Arguments

filing

The object containing a single transaction from a Form 4 filing in text format

footnoteKeywords

The character vector containing any specified key words to be searched in the transaction's footnotes. Default is NA.

issuerKeywords

The character vector containing any specified key words to be searched within the issuer block. Default is NA.

issuerTradingSymbol

The character vector containing any specified stock tickers. Default is NA.

rptOwnerKeywords

The character vector contianing any specified key words to be searched within the rptOwner block. Default is NA.

transactionType

The character vector containing any specified transaction codes. Default is NA.

Value

An integer value that if greater than 0, reflects that at the one of the criteria parameters listed above has been met. The form will then be parsed further. Otherwise, if the integer value is 0, the function pulls in the next Form 4 to evaluate.

Note

transactionFilterNonderivative parses a transaction contained in the filing and returns an integer value greater than 0 if one of the transaction specific key word criteras or form specific key word criteras is met.This function is specifically for the nonderivativeTransactionsScrape and nonderivativeTransactionsPullAndScrape functions.

transactionFilterDerivative parses a transaction contained in the filing and returns an integer value greater than 0 if the transaction contains one of the specific key word criteras or if the key word criteria cannot be applied at the transaction level ( rptOwnerKeywords or issuerKeywords for example), but the form contains form specific key word critera. This function is specifically for the derivativeTransactionsScrape and derivativeTransactionsPullAndScrape functions. The function shares the same paramters as formFilterNonderivativeTransactions (filing, footnoteKeywords, issuerKeywords, issuerTradingSymbol, rptOwnerKeywords, transactionType). The only difference is within the parsing commands which use the key word derivative rather than nonderivative.

transactionFilterNonderivativeHoldings parses a transaction contained in the filing and returns an integer value greater than 0 if the transaction contains one of the specific key word criteras or if the key word criteria cannot be applied at the transaction level ( rptOwnerKeywords or issuerKeywords for example), but the form contains form specific key word critera. This function is specifically for the nonderivativeHoldingsScrape and nonderivativeHoldingsPullAndScrape functions. The function shares the same paramters as transactionFilterNonderivative (filing, footnoteKeywords, issuerKeywords, issuerTradingSymbol, rptOwnerKeywords) except for transactionType since that isn't a criteria for a nonderivative holdings. Additionally, parsing criteria is different due to targeting holding information rather than transaction information.

transactionFilterDerivativeHoldings parses a transaction contained in the filing and returns an integer value greater than 0 if the transaction contains one of the specific key word criteras or if the key word criteria cannot be applied at the transaction level ( rptOwnerKeywords or issuerKeywords for example), but the form contains form specific key word critera. This function is specifically for the derivativeHoldingsScrape and derivativeHoldingsPullAndScrape functions. The function shares the same paramters as transactionFilterNonderivative (filing, footnoteKeywords, issuerKeywords, issuerTradingSymbol, rptOwnerKeywords) except for transactionType since that isn't a criteria for a derivative holdings. The only difference is within the parsing commands which use the key word derivative rather than nonderivative.


insiderTrades documentation built on Oct. 5, 2021, 1:06 a.m.