This will run your window.open if any of the checkboxes are checked
if($('temperature').is(':checked') || $('illuminance').is(':checked') || $('button-state').is(':checked')){
window.open('https://api.thingspeak.com/channels/899906/feeds.csv?start=2019-11-19%2019:11:19&end=2019-11-20%2019:11:20');
}