infoFromItems: Get account-level information from items data for some...

Description Usage Arguments Details Value Examples

Description

Items data refers to data on unique items listed. Items needs to contain the following variables:

Usage

1
infoFromItems(items, itemHashesOfInterest, userHashesOfInterest)

Arguments

items

dataframe as described above

itemHashesOfInterest

item_hashes for items that have feedback in timeframe of interest; can be generated by 'infoFromFeedback()'

userHashesOfInterest

vendor_hashes for accounts that have feedback in timeframe of interest; can be generated by 'infoFromFeedback()'

Details

Account-level variables returned are:

Value

list containing 1. dataframe with vendor_hash and numTitleTokens, 2. 'titleTokens' list, 3. 'inventory' list

Examples

1
2
3
4
## Not run: 
    itemsOut <- infoFromItems(items, out$itemHashes, out$vendorHashes)

## End(Not run)

xhtai/heisenbrgr documentation built on June 8, 2019, 9:30 a.m.