home / cp40x

names

6 rows where case_id = 2360779

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5013476 2360779 2360779 plaintiff Averey Thomas     Averey, Thomas 0
5013477 2360779 2360779 defendant Byggenhill John yeoman 588978 588978 Byggenhill, John, of Banbury, yeoman 0
5013478 2360779 2360779 defendant Knyght William yeoman 590892 590892 Knyght, William, of Bloxham, yeoman 1
5013479 2360779 2360779 defendant Mereweder John gent 592546 592546 Mereweder, John, of Abendon, Berks, gent 2
5013480 2360779 2360779 defendant Asshe Richard butcher 590892 590892 Asshe, Richard, of Bloxham, butcher 3
5013481 2360779 2360779 defendant Bates Thomas husbandman 586248 586248 Bates, Thomas, of Wygynton, 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 16.981ms