This simple webpage helps to create testdata for Microsofts Recommendation API. The Recommendation API expects an articles file (or catalog file) and an usage file which contains all clicks, purchases etc. that are used to get recommendations. The creation of the usage file is annoying if you do it in a CSV file. Therefore I build this simple webpage that allows you to add users and articles. Then you can select an user and click on the articles. Each click will create a new usage entry. The articles and usage data can then be exported as CSV file.
The data is stored in your browser cache so you can refresh the page and the data is still there. If you want to reset the data, then you can find cleanup buttons at the bottom of the page.
First step is to add some users. Just enter a name/id and press return.
Second step is to add articles. Enter an article name and a category and press ok. The category stays as it is sometimes more than once.
Select an event from the dropdown. Then select a user from 1. Users and then click on an article in 2. Articles. Each click on an article will add a new usage entry.
The last step is to export the data by clicking the "Get articles CSV" and "Get usage CSV" buttons. You can also cleanup your stuff by clicking one of the cleanup buttons.