-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve user ID randomization, avoid non-ISBN items
By creating a separate table, we can generate a much more random string to use as a surrogate for the user, rather than directly translating their user ID into a hash or including the timestamp as salt (where the timestamp, as a static value, could be brute-forced). Also avoid generating item entries where we have no ISBNs because we consequently have no matchpoints, either. Signed-off-by: Dan Scott <dan@coffeecode.net>
- Loading branch information
Showing
2 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Evergreen Level 0 Data Extract | ||
============================== | ||
|
||
Horribly simple approach, good enough for demonstration purposes for getting | ||
data to build a recommendation engine. Just plain old SQL to run against the | ||
Evergreen database. | ||
|
||
You will need to update: | ||
|
||
1. Institution IDs from which you want to extract data (we're assuming | ||
a hierarchy where a parent institution contains the children from | ||
which you want data) | ||
2. Output file names to something not so hardcoded. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters