Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSHA Enforcement - Violation Table - Date Format #123

Open
navarretedaniel opened this issue Apr 6, 2018 · 0 comments
Open

OSHA Enforcement - Violation Table - Date Format #123

navarretedaniel opened this issue Apr 6, 2018 · 0 comments
Labels

Comments

@navarretedaniel
Copy link

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

@giridhar giridhar added the bug label May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants