idiouf's picture
Upload 29 files
a074ed2 verified
|
Raw History Blame Contribute Delete
6.87 kB
---
title: African Books Recovery Project
emoji: 馃摎
colorFrom: yellow
colorTo: red
sdk: static
app_file: index.html
pinned: false
license: cc-by-4.0
tags:
- african-literature
- publishing-history
- digital-humanities
- bibliography
- open-access
short_description: African authors, African presses, c.1950-1979
---
# African Books Recovery Project
A study led by **Prof. Sally Nuamah** (Northwestern University) to record the books
written by African authors from the 1950s onward. This dashboard, developed by
**Dr Ibrahima Diouf** (University of Lab茅, Guinea; LPAO-SF, ESP, Cheikh Anta Diop
University, Dakar), is its working instrument for the books published by presses
**based in Africa**, roughly 1950 to 1979: the pamphlet houses of Onitsha, the state and
mission presses, the university imprints, and the independence-era literary houses of
Ibadan, Accra, Nairobi, Dar es Salaam, Yaound茅, Dakar, Lusaka and Johannesburg.
It holds what has been located, and it measures how far each title still is from being
a text a teacher can use.
- Personal page: https://scientific-hub-lab.github.io/Dr-Ibrahima-Diouf/
- Dashboards: https://huggingface.co/idiouf
- LinkedIn: https://www.linkedin.com/in/dr-ibrahima-diouf-610872108/
## A static Space
The dashboard is one HTML page (`index.html`) that reads one data file (`data.js`). No
server, no Python at run time, no external script: it loads fast, works on a phone, and
keeps working as long as the files exist. Interface in English or French, light or dark,
remembered in the browser.
Eight tabs: Overview 路 **Atlas** 路 Presses 路 Catalogue 路 Recovery 路 Rights 路 Copies 路 About & methods.
**No dropdowns.** Every filter (region, decade, language group, confidence) and every
choice (map measure, country in the public-domain check, pilot cluster) is a row of
clickable buttons. The catalogue opens a full dossier for a title when its row is clicked.
## What it contains
| Table | Rows | What it is |
|---|---|---|
| `titles.csv` | 385 | Book records: author, title, press, place, year, language, genre, scan status, in-print status, sources, confidence |
| `presses.csv` | 112 | The publishing houses: city, country, founding and closure, ownership, key figures, series, significance |
| `rights.csv` | 8 | Copyright terms, statutes, orphan-works mechanisms and recovery implications by jurisdiction |
| `digitization.csv` | 33 | Existing digitisation initiatives, their access, formats and APIs |
| `holdings.csv` | 36 | Search channels: where surviving copies may physically be, in Africa and outside it |
| `cities.csv` | 45 | Publishing cities with gazetteer coordinates, for the atlas dots |
| `countries.csv` | 54 | Coverage for every African country, **zeros included** |
| `contours_afrique.csv` | 2 947 | Country outlines as a vertex table (Natural Earth 1:50m) |
28 countries of publication, 27 languages, 66 titles in African languages, and
**27 of the 54 African countries carry no record at all.**
## The atlas
Country outlines are converted to SVG paths at build time. Country names are written on
the map wherever they fit without overlapping, and every value can be read by tapping or
hovering a country or a city, and on the ranking beside the map. A country with no record
is grey, never interpolated from a neighbour, and the subtitle counts the grey ones so that
*unsearched* is never mistaken for *empty*. City dots come from `villes.json`, a declared
gazetteer; they place a city on a map and carry no bibliographic weight.
## The six recovery stages
1. **Located**: a catalogue record or a copy has been identified
2. **Preserved**: a conservation-quality scan exists
3. **Rights identified**: the author, estate or successor publisher has been traced
4. **Cleared**: written permission has been obtained
5. **Republished**: the book is legally available again
6. **Curriculum-ready**: teaching notes, vocabulary, activities and context exist
Current state: 385 located, 7 preserved, 0 rights identified, 0 cleared, 6 republished
(by commercial publishers, not by this project), 0 curriculum-ready.
## The first phase
A pilot of 100 titles across five clusters: **A** Onitsha market pamphlets (25),
**B** Ghanaian children's and folklore books (20, pool currently 10), **C** East African
popular fiction (20), **D** Francophone titles from 脡ditions CLE, NEA and related presses
(20), **E** works in African languages (15).
## Data governance
Enforced in `build_data.py` and checked in `selftest.py`:
1. Every record carries its sources; an unsourced record is dropped at build time.
2. Nothing is estimated: 17 titles have no year and are shown as undated.
3. Confidence is always visible (high, medium, low).
4. "Out of print" is never rendered as "out of copyright".
5. Presses outside Africa are flagged, not hidden.
6. Grey is never zero on a map.
7. City coordinates are a cartographic aid, not a record.
8. Derived fields are computed, never hand-entered.
9. Rights information is descriptive, not legal advice.
If a `harvested.csv` file of machine-found leads is added next to the research files,
`build_data.py` merges it as a separate tier (never "high" confidence; a lead that
duplicates a verified record is discarded).
## Rebuild
Flat on purpose: every file sits in this one directory.
```bash
pip install pandas
python build_data.py # research JSON -> CSV tables + data.js
python selftest.py # refuses to pass a dashboard that overstates its evidence
```
Then open `index.html` in a browser, or push the folder to the Space (`deploy.sh`).
```
index.html the dashboard (static, self-contained)
data.js all the data the page reads, built by build_data.py
build_data.py ETL: sourced JSON -> CSV tables and data.js
selftest.py governance, cartography and page checks
deploy.sh push this folder to a Hugging Face static Space
requirements.txt pandas, for the local build only
nigeria_*.json ghana_*.json eastafrica_*.json franco_*.json southern_*.json
rights.json digitization.json holdings.json villes.json
titles.csv presses.csv rights.csv digitization.csv holdings.csv cities.csv countries.csv
contours_afrique.csv
```
## Known gaps
North Africa, the Horn, Lusophone Africa, the Indian Ocean and Anglophone Cameroon are
thin; Cape Verde and Eswatini are empty. Northern Nigerian and Hausa publishing is the
thinnest major gap. Author dates of death are absent throughout. Scan status is
unverified for 173 titles. Read a small number as "not yet searched", never as
"nothing there".
## Contact
Open a thread in the Community tab of this Space.
## Licence
Code and the compiled dataset: CC BY 4.0. The underlying bibliographic facts are not
copyrightable; the books they describe are, and remain the property of their authors,
estates and publishers.