# Dollar General OSHA Violation History & Risk

**Use case:** 

Get Dollar General's OSHA inspection and violation history with a severity-weighted risk score, repeat-offender flag, and violations-over-time trend.

## Input

```json
{
  "employers": [
    "Dollar General"
  ],
  "maxInspectionsPerEmployer": 25,
  "compareToPrevious": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "query": {
    "label": "Employer",
    "format": "string"
  },
  "state": {
    "label": "State",
    "format": "string"
  },
  "risk_score": {
    "label": "Risk score",
    "format": "integer"
  },
  "risk_band": {
    "label": "Risk band",
    "format": "string"
  },
  "trend": {
    "label": "Trend",
    "format": "string"
  },
  "repeat_offender": {
    "label": "Repeat offender",
    "format": "boolean"
  },
  "inspection_count": {
    "label": "Inspections",
    "format": "integer"
  },
  "violation_count": {
    "label": "Violations",
    "format": "integer"
  },
  "total_current_penalty": {
    "label": "Current penalties",
    "format": "integer"
  },
  "source_url": {
    "label": "Source URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [OSHA Violation Risk & Time-Series](https://apify.com/fried_calamaries/osha-violation-risk) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fried_calamaries/osha-violation-risk) to learn more, explore other use cases, and run it yourself.