government_data: A full dataset containing the card transactions for a...

Description Usage Format Source Examples

Description

This data adds a few more variables beyond accounting_government

Usage

1

Format

A data frame with columns:

cardnum

The variable is character. Credit card number used for the purchase

date

The variable is Date. The date of the transaction

merchnum

The variable is character. The merchant number

merchdescription

The variable is character. the merchant name and details

merchstate

The variable is character. The state where the merchant is located

merchzip

The variable is character. The zipcode of the merchant

transtype

The variable is character. The transaction type. A, D, P, Y

amount

The variable is numeric. the amount ot the transaction

merch_clean

The variable is character. A cleaned merchant name

merch_other200

The variable is character. All merchants with less than 200 transactions grouped to other

merch_other100

The variable is character. All merchants with less than 100 transactions grouped to other

merch_other50

The variable is character. All merchants with less than 50 transactions grouped to other

merch_other10

The variable is character. All merchants with less than 10 transactions grouped to other

Source

https://github.com/carloscinelli/benford.analysis and https://www.amazon.com/Benfords-Law-Applications-Accounting-Detection/dp/1118152859

Examples

1
2
3
4
## Not run: 
government_data

## End(Not run)

byuidatascience/data4benfords documentation built on May 6, 2020, 10:10 p.m.