Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

OSHA Enforcement - Violation Table - Date Format #123

Description

@navarretedaniel

https://data.dol.gov/get/violation

The documentation for the OSHA Enforcement Violation table indicates that the "issuance_date" and "abate_date" columns are formatted as (yyyymmdd).

The Beginner's Guide for v2 indicates that searching by dates can be achieved using (yyyy-mm-dd).

However, when retrieving data from this table, it appears that the "issuance_date" and "abate_date" columns are formatted as (dd-mm-yy): e.g., "14-SEP-05"

image

I receive an error when trying to filter the date parameters using the following request:
"https://data.dol.gov/get/violation/limit/200/orderby/asc/date_column/issuance_date/start_date/2010-03-15/end_date/2011-04-15/"

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions