home / cp40x

names

7 rows where place_id = 836886

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename

id ▼ case_id role surname forename occupation place_id raw_segment seq
5027671 2364971 2364971 defendant Lofthous John husbandman 836886 836886 Lofthous, John, of Nethir Dunsforth, husbandman 0
5027672 2364971 2364971 defendant Marton John husbandman 836886 836886 Marton, John, of Nethir Dunsforth, husbandman 1
5027673 2364971 2364971 defendant Henlake John husbandman 836886 836886 Henlake, John, of Nethir Dunsforth, husbandman 2
5027674 2364971 2364971 defendant Johnson William husbandman 836886 836886 Johnson, William, of Nethir Dunsforth, husbandman 3
5027675 2364971 2364971 defendant Peirson Richard husbandman 836886 836886 Peirson, Richard, of Nethir Dunsforth, husbandman 4
5027676 2364971 2364971 defendant Peirson John husbandman 836886 836886 Peirson, John, of Nethir Dunsforth, husbandman 5
5027677 2364971 2364971 defendant Fairbarn Thomas husbandman 836886 836886 Fairbarn, Thomas, of Nethir Dunsforth, husbandman 6

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