Description Usage Arguments Details Value Examples
Feedback data refers to unique feedback left on the marketplaces. Feedback needs to contain the following variables:
'hash_str': this is a unique identifier for each feedback
'date': date that the feedback was left
'item_hash': unique identifier for item that feedback was left for
'marketplace': marketplace that the feedback was left on
'order_amount_usd': cost of item that feedback was left for
1 | infoFromFeedback(feedback, startDate, endDate)
|
feedback |
dataframe as described above |
startDate |
string for start of time frame of interest, e.g. "2014-01-10" |
endDate |
string for end of time frame of interest (exclusive), e.g. "2014-01-15" means up to 1/14 |
Account-level variables returned are:
'vendor_hash': unique identifier for seller account
'marketplace': marketplace that the feedback was left on
'totalFeedback': total number of feedback that the account received
'numListingsWithFeedback': number of item listings where account received feedback
'firstFeedback': date of first feedback (character)
'lastFeedback': date of last feedback (character)
'daysActive': number of days between first and last feedback (inclusive)
date columns: binary variables indicating whether feedback was received on these days
'dailyFrac': (totalFeedback/daysActive for vendor) / (marketplaceTotalFeedback/marketplaceDaysActive)
'meanPriceSold'
'medianPriceSold'
'minPriceSold'
'maxPriceSold'
'priceRange'
list containing 1. dataframe with account-level variables as listed above, 2. unique vendor_hashes of interest (receiving feedback in period of interest), 3. unique item_hashes of interest
1 2 3 4 | ## Not run:
out <- infoFromFeedback(feedback, "2014-08-01", "2014-08-31")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.