home / cp40x

names

5 rows where place_id = 755994

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4433289 2175166 2175166 defendant Mareshall William le   755994 755994 Mareshall, William le, of Kirkebythore 0
4697298 2264635 2264635 defendant Spothyn Walter yeoman 755994 755994 together with Spothyn, Walter, of Kirkebythore, yeoman 3
4759757 2283391 2283391 defendant Spitell Richard yeoman 755994 755994 Spitell, Richard, of Kirkebythore, yeoman 2
4759764 2283392 2283392 defendant Merton John yeoman 755994 755994 Merton, John, of Kirkebythore, yeoman 1
5266972 2435425 2435425 plaintiff Wherton John   755994 755994 Wherton, John, of Kirkebythore 1

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