Hi,
I'm working on selecting some new board games. The collection at NLPL is three years old. Some locations use it a lot. I'm using the following SQL to get information from a Horizon database to help select locations and types of games for those locations.
I am looking at locations with board games that have circulated five or more times since the start of 2019. The report shows the location, the sum of the circs for all items at that location for each board game, and the board games title.
This has allowed me to identify which locations have good circulation, so I can add items to their collections, and it has identified other locations that I will replace on my list with locations that do not have collections yet, in hopes that I find more locations that like board games. When looking at the titles, I am distinguishing between traditional and non-traditional games. Traditional being games like checkers, Connect 5, etc. Within each location I am categorizing them as either in favor of traditional collections, non-traditional, or a mix. Are there other categories I should be considering? I take this information and use it to identify games to add to the possible selection list for the year.
Here is the SQL I am using (I forgot one important part in my initial posting. The collection code. At NLPL its ttg)
SELECT i.location, l.name, SUM(i.n_ckos) AS n_ckos, ti.title
FROM item AS i
INNER JOIN location AS l
ON i.location = l.location
INNER JOIN title_inverted AS ti
ON i.bib# = ti.bib#
WHERE AND i.collection = 'ttg'
AND i.n_ckos >= 5
AND i.last_cko_date >= DATEDIFF(dd, 'jan 1 1970', 'jan 1 2019')
GROUP BY i.location, l.name, ti.title
------------------------------
Liam Whalen
Systems Librarian
Newfoundland & Labrador Public Libraries
------------------------------