Our community-modifiable default off-topic close reasons are
Self-study questions (including textbook exercises, old exam papers, and homework) that seek to understand the concepts are welcome, but those that demand a solution need to indicate clearly at what step help or advice are needed. For help writing a good self-study question, please visit the meta pages.
This question appears to be off-topic because it is not about statistics, machine learning, data analysis, data mining, or data visualization.
Questions about obtaining specific datasets are off-topic on Cross Validated. You are welcome to post this question to the Open Data site instead, thank you!
("This question belongs on another site in the Stack Exchange network" cannot be modified and will always be an option.)
I would like to add another default reason that in a friendly, polite, and helpful fashion says something like
This question appears to focus exclusively on programming, debugging, or performing routine operations within an application. It cannot be migrated to StackOverflow because it does not meet their standards or needs more information. You might be able to get an answer at one of the support links we maintain.
If you favor this, please suggest a better wording (and/or upvote suggestions you like); and otherwise, please explain why making this a default close reason might not be a good idea.
Important Edits
In attempting to implement this, I discovered a severe length limitation and pared back the proposed text (including the link) to fit the space provided. I managed partially to incorporate a suggestion made in the answer by Gung--there is a link to SO guidance for creating a Minimal Complete Verifiable Example.
Having succeeded in meeting this limit, I then (re-)discovered a limitation on the number of close reasons: we cannot have more than three! I am therefore asking for your suggestions about how to incorporate this suggested fourth reason within the three we are allowed. It probably needs to be rolled into the second close reason ("...not about statistics etc."), perhaps in this abbreviated form (which uses every allowable character):
This question appears to be off-topic because--to be understood and answered--it does not require any knowledge of statistics, machine learning, data analysis, data mining, or data visualization. If it focuses on programming, debugging, or performing routine operations within a statistical computing platform, visit the support links we maintain.
Previous discussions on this topic occurred at
How to ask question related to the use of R? (this has a number of examples worth contemplating).
Why was this question migrated to StackOverflow? It does not mention programming at all (this discussion occurred primarily within the comments).