Is it possible to set a default value for a Data Explorer query parameter?
What is meta?
- Any Stack Exchange user can ask a question
- The community provides support, votes on ideas, and reports bugs
- Your voice helps shape the way Stack Exchange operates
You can link to particular queries and have it fill in the parameters for you . For example, here's your comment score distribution on Stack Overflow.
You can also now save default values directly in your parameters using the
Default values can also be used with typed parameters, just make sure to put the default value after the type like
You can specify the values in the query string if you're sending the URL to someone. For example: http://data.stackexchange.com/stackoverflow/q/114799/?x=12345
I don't think there's a way to hardcode defaults into the script itself
I had got my id in UserId textbox after running several different queries. Now i always see my id and simply click on