folio-org / folio-analytics

Community query repository for FOLIO analytics based on Metadb/LDP
Apache License 2.0
15 stars 30 forks source link

folio-analytics

Copyright (C) 2018-2023 The Open Library Foundation

This software is distributed under the terms of the Apache License, Version 2.0. See the file "LICENSE" for more information.

Releases

Each release of folio-analytics is tested with a specific FOLIO release, but it may also work with other FOLIO releases.

FOLIO LDP Metadb
Kiwi folio-analytics 1.2
Lotus folio-analytics 1.3
Morning Glory folio-analytics 1.4
Nolana folio-analytics 1.5 folio-analytics 1.7 (Metadb 1.2)
Orchid folio-analytics 1.6
Poppy folio-analytics 1.7
Quesnelia
Ramsons
Sunflower

Overview

This repository contains reports and other analytics developed for FOLIO and designed to run on the Library Data Platform. At present most of the content here consists of SQL reports developed by the FOLIO reporting community and based on the requirements of FOLIO partner libraries. In addition to report development, FOLIO has a Reporting Special Interest Group that discusses reporting requirements and other related topics.

How to use this repository

Metadb/LDP-based queries are written in SQL. To use these queries, you will need to connect to a Metadb or LDP database instance using a reporting tool that supports SQL. Examples of reporting tools that will execute SQL include DBeaver, Aqua Data Studio, and Tableau.

If none of the queries provided match your needs, you can look for an existing query to use as a starting point and edit the query to create the desired output. The Metadb Documentation and LDP User Guide include guidelines for writing queries.

Queries

Metadb SQL queries are stored in the sql_metadb directory of this repository. Queries are separated into two categories: derived table queries and report queries. LDP SQL queries are stored in the sql directory.

Derived table queries are designed to combine tables that are commonly used together or to otherwise simply querying.

Report queries are created in response to specific report requests from FOLIO member institutions. Each query is located in a separate directory. A full report may contain several individual queries. Consult the README.md file in the report queries folder for a query table of contents, and look for additional README.md files in the query folders to explain how to run the reports.

Branches

There are two primary types of branches: