home / cp40x

names

6 rows where case_id = 2472937

✎ 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
5392542 2472937 2472937 plaintiff Scot Thomas     Scot, Thomas 0
5392543 2472937 2472937 defendant Wylshawe John husbandman 613765 613765 Wylshawe, John, of Prestwold, husbandman 0
5392544 2472937 2472937 defendant Gamull Randolf miller 588845 588845 Gamull, Randolf, of Grymston, miller 1
5392545 2472937 2472937 defendant Bukkerfeld John butcher 761081 761081 Bukkerfeld, John, of Syleby, butcher 2
5392546 2472937 2472937 defendant Byllyngton John butcher 882313 882313 Byllyngton, John, of Loughbourgh, butcher 3
5392547 2472937 2472937 defendant Fermour John butcher 882313 882313 Fermour, John, of Loughbourgh, 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 16.137ms