home / cp40x

names

6 rows where case_id = 2369147

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5041793 2369147 2369147 plaintiff Cook John mercer 585869 585869 Cook, John, of London, mercer 0
5041794 2369147 2369147 defendant Meke Thomas shipman 587639 587639 Meke, Thomas, of St Osith, Essex, shipman 0
5041795 2369147 2369147 defendant Browene William chapman 585990 585990 Browene, William, of Banbury, Oxon, chapman 1
5041796 2369147 2369147 defendant Browene John husbandman 766262 766262 Browene, John, of Walsale, Staffs, husbandman 2
5041797 2369147 2369147 defendant Sawer John weaver 610372 610372 Sawer, John, of Frome Selwode, Soms, weaver 3
5041798 2369147 2369147 defendant Boune or Bonne John   838760 838760 Boune or Bonne, John, of Hertherst, Suff, chapmanm 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 11.463ms