code: function selectFormat(format) {
    let method = "toTable";
    let extension = `.${format}`;
  
    switch (format) {
      case "json":
        method = "toJSON";
        break;
      case "csv":
        method = "toCSV";
        break;
      case "html":
        method = "toHTML";
        break;
      case "md":
        method = "toMarkdown";
        break;
      default:
        break;
    }
  
    return {
      extension: extension,
      method: method
    }
  }
docs: Select CSS statistics data format
  @param {String} format
  @returns {{extension: String, method: String}}
  @private