Smoking Offences Finalised by Type, NSW 2017/18 and 2018/19
A small register of 23 rows counting smoking offences by offence type and financial year (2017/18 and 2018/19), with the finalisation action taken and the reason flags recorded for each case group. A caller can search by offence or year and fetch rows by key.
Endpoints
Smoking Offences Finalised by Type, NSW 2017/18 and 2018/19: search
/v1/records/nsw-smoking-offences-by-type-2017-19/search10¢ per callServed by /v1/records/{slug}/search, which documents every parameter, the response shape and errors, and has a live playground.
| Query parameter | Description |
|---|---|
q | Words to find (prefix match, all must appear) in: offence, financial year, finalisation action. |
where | Exact-match filter `field:value`, repeatable, on: `offence`, `fin_year`. |
fields | Comma-separated field slugs (below). Omit for all. |
limit | Records per page, 1 to 50 (default 25). |
offset | Items to skip, for the next page (`next_offset`). |
curl -X GET 'https://api.microburbs.com.au/v1/records/nsw-smoking-offences-by-type-2017-19/search?q=Smoke%20in%20designated%20smoke%20free%20area%20of%20public%20hospital%20etc' \
-H 'Authorization: Bearer test'test is the public sandbox key: it works only for the sandbox's allowlisted suburbs and addresses. Use your own key for anything else.
Smoking Offences Finalised by Type, NSW 2017/18 and 2018/19: one record
/v1/records/nsw-smoking-offences-by-type-2017-19/{record_key}5¢ per callServed by /v1/records/{slug}/{record_key}, which documents every parameter, the response shape and errors, and has a live playground.
| Query parameter | Description |
|---|---|
record_key | The record's case number. |
fields | Comma-separated field slugs (below). Omit for all. |
curl -X GET 'https://api.microburbs.com.au/v1/records/nsw-smoking-offences-by-type-2017-19/1' \
-H 'Authorization: Bearer test'test is the public sandbox key: it works only for the sandbox's allowlisted suburbs and addresses. Use your own key for anything else.
About this dataset
New South Wales smoking offences for the 2017/18 and 2018/19 financial years. The dataset has 23 rows. It has no breakdown by suburb, LGA or other area. Current to 2025-06-24; refreshed One-off release; not expected to update..
What it is
A table of smoking offences grouped by offence type, financial year and finalisation action. Each row carries a total count and a set of flag columns showing the grounds recorded for the outcome, such as vulnerability, mental illness or exceptional circumstances.
What it shows
It shows how many smoking offences of each type were finalised in 2017/18 and 2018/19, and on what grounds. In the profile, the finalisation action is "Cautioned" and the grand total per row ranges from 1 to 5. Offence types include smoking in a smoke-free area, in designated areas of public hospitals, and on public passenger vehicles, trains or public areas.
Why use it
It helps analysts look at how smoking rules are enforced and when cautions are used in place of penalties. It is useful for health policy research, transport and public-space compliance studies, and comparisons across the two years.
How it is built
We load the rows as supplied, one per offence, year and case group, and index them for text search, filtering and fetch by key. The flag columns are kept as supplied, with 1 meaning the ground applied and blank meaning it did not or was not recorded. There is no location, date or offender detail.
Shortcomings
- Only 23 rows, so it is too small for trend or statistical analysis.
- Every row in the profile has the finalisation action 'Cautioned', so it does not show fines or other outcomes.
- Flag columns are mostly blank (65% to 96% per column). Blank cannot be reliably told apart from 'not applicable' or 'not recorded', and flags may overlap on a row.
- There is no geography or date below financial year, and case_number is only a row label, so it can't be linked to other datasets.
Fields
| Field | Unit | Description |
|---|---|---|
offenceOffence | Description of the smoking offence type, such as smoking in a smoke-free area or on public transport. | |
case_numberCase number | Case group number within the release, used as a row label. | |
fin_yearFinancial year | Financial year of the offences, either 2017/18 or 2018/19. | |
finalisation_actionFinalisation action | Action that finalised the offence, shown as Cautioned in the profile. | |
ag_client_18_yrs_ageClient under 18 years of age | count | Flag (1) where the caution was given because the client was under 18; blank otherwise. |
ag_cognitive_impairment_contributed_to_offending_conductCognitive impairment contributed to conduct | count | Flag (1) where cognitive impairment contributed to the offending conduct; blank otherwise. |
ag_did_not_knowingly_or_deliberately_commit_offenceDid not knowingly or deliberately offend | count | Flag (1) where the person did not knowingly or deliberately commit the offence; blank otherwise. |
ag_exceptional_circumstancesExceptional circumstances | count | Flag (1) where exceptional circumstances applied; blank otherwise. |
ag_mental_illness_contributed_to_offending_conductMental illness contributed to conduct | count | Flag (1) where mental illness contributed to the offending conduct; blank otherwise. |
ag_reasonable_in_circumstancesReasonable in the circumstances | count | Flag (1) where the caution was considered reasonable in the circumstances; blank otherwise. |
authorised_vehicle_special_or_restricted_zone_usage_is_autAuthorised vehicle or restricted zone use | count | Flag (1) where use of a vehicle or special or restricted zone was authorised; blank otherwise. |
issuing_authority_confirmation_of_clients_claimIssuing authority confirmed client's claim | count | Flag (1) where the issuing authority confirmed the client's claim; blank otherwise. |
issuing_authority_request_decision_from_issuing_authoritDecision requested from issuing authority | count | Flag (1) where a decision was requested from the issuing authority; blank otherwise. |
mental_incapacity_person_responsible_has_mental_illness_orMental incapacity of responsible person | count | Flag (1) where the person responsible has a mental illness or incapacity; blank otherwise. |
other_caution_applicable_under_s24_e_e_of_fines_act_199Other caution under s24 of the Fines Act | count | Flag (1) where another caution ground under section 24 of the Fines Act applied; blank otherwise. |
rail_corp_first_offence_for_regular_ticket_holder_juvenilRail first offence, regular ticket holder or juvenile | count | Flag (1) for a first rail offence by a regular ticket holder or juvenile; blank otherwise. |
vulnerabilityVulnerability | count | Flag (1) where the person's vulnerability was a ground for the outcome; blank otherwise. |
grand_totalGrand total | count | Total number of offences in the row, from 1 to 5 in the profile. |
Data source: NSW Government
