def authorize_download(dataset_name=None, prompt=prompt_stdin):
print('<STR_LIT>' + dataset_name)<EOL>print('<STR_LIT>')<EOL>dr = data_resources[dataset_name]<EOL>print('<STR_LIT>')<EOL>print(dr['<STR_LIT>'])<EOL>print('<STR_LIT>')<EOL>if dr['<STR_LIT>']:<EOL><INDENT>print('<STR_LIT>')<EOL>print(dr['<STR_LIT>'])<EOL>print('<STR_LIT>')<EOL><DEDENT>if dr['<STR_LIT:size>']:<EOL><INDENT>print('<STR_LIT>' + str(dr['<STR_LIT:size>']) + '<STR_LIT>')<EOL>print('<STR_LIT>')<EOL><DEDENT>print('<STR_LIT>' + os.path.join(data_path, dataset_name) + '<STR_LIT:.>')<EOL>print('<STR_LIT>')<EOL>if overide_manual_authorize:<EOL><INDENT>if dr['<STR_LIT>']:<EOL><INDENT>print('<STR_LIT>')<EOL>print(dr['<STR_LIT>'])<EOL>print('<STR_LIT>')<EOL><DEDENT>return True<EOL><DEDENT>else:<EOL><INDENT>if dr['<STR_LIT>']:<EOL><INDENT>print('<STR_LIT>')<EOL>print(dr['<STR_LIT>'])<EOL>print('<STR_LIT>')<EOL><DEDENT>return prompt('<STR_LIT>')<EOL><DEDENT>
Check with the user that the are happy with terms and conditions for the data set.