home / cp40x

names

7 rows where case_id = 2357485

✎ 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
5001998 2357485 2357485 plaintiff Mundson John     Mundson, John 0
5001999 2357485 2357485 defendant Nelson Richard yeoman 833375 833375 Nelson, Richard, of Osbodby by Ouresby, yeoman 0
5002000 2357485 2357485 defendant Osgodby Robert husbandman 833376 833376 Osgodby, Robert, of Osgodby by Ouresby, husbandman 1
5002001 2357485 2357485 defendant Levesham William husbandman 833376 833376 Levesham, William, of Osgodby by Ouresby, husbandman 2
5002002 2357485 2357485 defendant Blounte John husbandman 755419 755419 Blounte, John, of Osbodby, husbandman 3
5002003 2357485 2357485 defendant Danyell William barber 586846 586846 Danyell, William, of Lincoln, barber 4
5002004 2357485 2357485 defendant Clyfton John laborer 589416 589416 Clyfton, John, of Oselby, laborer 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 14.973ms