home / cp40x

names

6 rows where case_id = 2500144

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5483980 2500144 2500144 plaintiff Malverey William     Malverey, William 0
5483981 2500144 2500144 defendant Graunt John butcher 588593 588593 Graunt, John, of Bykelyswade, Beds, butcher 0
5483982 2500144 2500144 defendant Eyward or Gyward John   586528 586528 Eyward or Gyward, John, of Ware, Herts, tallow chandler 1
5483983 2500144 2500144 defendant Sumys William mercer 591960 591960 Sumys, William, of Halstede, Essex, mercer 2
5483984 2500144 2500144 defendant Gaynethorp Thomas husbandman 892125 892125 Gaynethorp, Thomas, of Bovyngiour, Essex, husbandman 3
5483985 2500144 2500144 defendant Wychelande John butcher 588643 588643 Wychelande, John, of Walden, Essex, butcher 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 18.528ms