home / cp40x

names

6 rows where case_id = 2350500

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4978442 2350500 2350500 plaintiff Rodeley or Rotheley William   588760 588760 Rodeley or Rotheley, William, of Dertford 0
4978443 2350500 2350500 defendant Walsshe Richard husbandman 761759 761759 Walsshe, Richard, of St Mary Creye, husbandman 0
4978444 2350500 2350500 defendant Bele John husbandman 588674 588674 Bele, John, of Sevenoke, husbandman 1
4978445 2350500 2350500 defendant Moref or Mores John husbandman 599341 599341 Moref or Mores, John, of Cokston, husbandman 2
4978446 2350500 2350500 defendant Chambre John, senior husbandman 599341 599341 Chambre, John, senior, of Cokston, husbandman 3
4978447 2350500 2350500 defendant Bakere Richard husbandman 588541 588541 Bakere, Richard, of Feveresham, husbandman 4

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 12.552ms