home / cp40x

names

7 rows where case_id = 2356552

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4998888 2356552 2356552 plaintiff Kyng Thomas     Kyng, Thomas 0
4998889 2356552 2356552 defendant Dane Adam husbandman 760248 760248 Dane, Adam, of Hertlepe, husbandman 0
4998890 2356552 2356552 defendant Grymston Thomas husbandman 760248 760248 together with Grymston, Thomas, of Hertlepe, husbandman 1
4998891 2356552 2356552 defendant Brok John husbandman 600332 600332 Brok, John, of Yaldyng, husbandman 2
4998892 2356552 2356552 defendant Solyer Walter husbandman 773018 773018 Solyer, Walter, of Boxele, husbandman 3
4998893 2356552 2356552 defendant Janecok Simon   605288 605288 Janecok, Simon, of Maidstone, mason 4
4998894 2356552 2356552 defendant Janecok Lucy     Lucy, his wife 5

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