home / cp40x

names

7 rows where case_id = 2256603

✎ 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
4671009 2256603 2256603 plaintiff Bynbrook John clerk   Bynbrook, John, clerk 0
4671010 2256603 2256603 plaintiff Mendham William     Mendham, William 1
4671011 2256603 2256603 plaintiff Reve Robert   763176 763176 Reve, Robert, of Bekles 2
4671012 2256603 2256603 defendant Lenman Robert husbandman 781057 781057 Lenman, Robert, of Elsyngg, husbandman 0
4671013 2256603 2256603 defendant Spademan Thomas husbandman 781057 781057 Spademan, Thomas, of Elsyngg, husbandman 1
4671014 2256603 2256603 defendant Fishlak Robert husbandman 781057 781057 Fishlak, Robert, of Elsyngg, husbandman 2
4671015 2256603 2256603 defendant Lamberd John husbandman 781057 781057 Lamberd, John, of Elsyngg, husbandman 3

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 17.001ms