home / cp40x

names

6 rows where case_id = 2285338

✎ 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
4765923 2285338 2285338 plaintiff Kumendeswold William     Kumendeswold, William 0
4765924 2285338 2285338 defendant Ludlowe John tanner 766494 766494 Ludlowe, John, of Loughtburgh, tanner 0
4765925 2285338 2285338 defendant Mower John chapman 586435 586435 Mower, John, of Leicester, chapman 1
4765926 2285338 2285338 defendant Crede Lawrence laborer 586435 586435 Crede, Lawrence, of Leicester, laborer 2
4765927 2285338 2285338 defendant (illegible) Richard husbandman 799169 799169 _, Richard, of Stoke by Melton, husbandman 3
4765928 2285338 2285338 defendant Saxby John butcher 588489 588489 Saxby, John, of Melton, 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 5.631ms