def parse_data(content, raincontent, latitude=<NUM_LIT>,<EOL>longitude=<NUM_LIT>, timeframe=<NUM_LIT>, usexml=False):
if usexml:<EOL><INDENT>return parse_xml_data(content, raincontent,<EOL>latitude, longitude, timeframe)<EOL><DEDENT>else:<EOL><INDENT>return parse_json_data(content, raincontent,<EOL>latitude, longitude, timeframe)<EOL><DEDENT>
Parse the raw data and return as data dictionary.