home / cp40x

names

7 rows where case_id = 2505073

✎ 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
5500431 2505073 2505073 plaintiff Rysyng Richard     Rysyng, Richard 0
5500432 2505073 2505073 defendant Potell Simon yeoman 586077 586077 Potell, Simon, of Stradbroke, Suff, yeoman 0
5500433 2505073 2505073 defendant Lamport Nicholas draper 671308 671308 Lamport, Nicholas, of Est Derham, Norf, draper 1
5500434 2505073 2505073 defendant Wardyn John fuller 592108 592108 Wardyn, John, of Kersey, Suff, fuller 2
5500435 2505073 2505073 defendant Forthe Thomas of Cokfeld Suff, butcher   Forthe, Thomas of Cokfeld, Suff, butcher 3
5500436 2505073 2505073 defendant Graye Richard yeoman 589247 589247 Graye, Richard, of Eye, Suff, yeoman 4
5500437 2505073 2505073 defendant Materas William husbandman 838031 838031 Materas, William, of Magna Cornerd, Suff, husbandman 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 7.824ms