All ideasMore in Work

The AI brought my broken R package back after two years

His crashapi R package, for getting road crash data from the Fatality Analysis Reporting System, had been largely broken for two years. He used AI to bring it back, and the package is live again.

How it works

  1. Uses the AI on the broken crashapi package
  2. The AI repairs the package
  3. It works again for accessing Fatality Analysis Reporting System data

Why it’s worth knowing

A data package left broken for two years is back in service after a round of work with AI.

Where it’s from

Summarized from a public post on bsky.app. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.