generatePGPs: Get list of PGP keys for each account in some timeframe of...

Description Usage Arguments Details Value

Description

PGP data are extracted from profile and item scrapes, and needs to contain the following variables:

Usage

1
generatePGPs(PGPclean, userHashesOfInterest, startDate, endDate)

Arguments

PGPclean

dataframe as described above

userHashesOfInterest

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

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

Details

We first consider all scrapes within the start and end dates specified. If there are no PGP keys available, we look at equal time periods before and after the dates of interest. For example, if we are interested in August 2014, and no keys are available then, we consider all scrapes in July-September 2014.

Returns 'PGPlist', a list of PGP keys for accounts that have feedback in the timeframe of interest.

Value

'PGPlist' list item


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