What would be the correct way to limit a Data Drop field to Boolean values only? The following does not work but replies with a message “Restricted was called with the wrong arguments”:
CreateDatabin["Interpretation" -> { "foobar" -> Restricted["Boolean"]}]
The instructions to Restricted indeed do not list a Boolean type. So I’m wondering if I should make the field into a “yes|no” string, or 0 or 1, or something else? Specifically I’d love it if the Web Form to my Databin could just have a checkbox for this field! Is that even possible? I’d also like to create statistics on how often the value was true during a given period of time. The Web Form wouldn’t be my only UI though, I’d also use the Web API.