requestLCsv function

Future<Table> requestLCsv(
  1. String url, {
  2. String fieldSep = ',',
  3. String textSep = '"',
  4. bool multiline = true,
  5. int headerRow = 0,
})

Downloads the TSV file from specified url and returns the parsed data

Implementation

Future<Table> requestLCsv(String url,
    {String fieldSep = ',',
    String textSep = '"',
    bool multiline = true,
    int headerRow = 0}) async {
  final client = BrowserClient();
  final Response resp = await client.get(Uri.parse(url));
  return parseLCsv(resp.body,
      fieldSep: fieldSep, textSep: textSep, multiline: multiline);
}