home / cp40x

names

9 rows where case_id = 2281311

✎ 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
4752935 2281311 2281311 plaintiff Trovylyas John   760745 760745 Trovylyas, John, of Trelyver, on his own account 0
4752936 2281311 2281311 defendant Fursdon John gent 796829 796829 Fursdon, John, of Fursdon, gent 0
4752937 2281311 2281311 defendant Treyowan John husbandman 796830 796830 Treyowan, John, of Treroval, husbandman 1
4752938 2281311 2281311 defendant Barthe John   696218 696218 Barthe, John, of Lostwithyell, servant of a bailiff 2
4752939 2281311 2281311 defendant Mulet Robert   761485 761485 Mulet, Robert, of St Neot, bailiff 3
4752940 2281311 2281311 defendant Skynard William weaver 796832 796832 Skynard, William, of Plevyut, weaver 4
4752941 2281311 2281311 defendant Selt John, junior yeoman 602129 602129 Selt, John, junior, of Tregors, yeoman 5
4752942 2281311 2281311 defendant Tommna William butcher 796833 796833 Tommna, William, of St Isy, butcher 6
4752943 2281311 2281311 defendant Peen Mathew of Tredenek husbandman   Peen, Mathew of Tredenek, husbandman 7

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.198ms