<commit_before>import * as ValueMax from "../../ValueMax.js";

export { UrlComposer };

/**
 * Compose a URL for downloading cells data (as JSON or .CSV format) from a Google Sheets by using Google Visualzation Table Query
 * API. The target spreadsheet should be shared by either "Public on the web" or "Anyone with the link".
 *
 * (GVizTQ = Google Visualzation Table Query)
 *
 * The follwoings are some composed examples:
 *<commit_msg>Update GVizTQ.js<commit_after>export { UrlComposer };

import * as ValueMax from "../../ValueMax.js";

/**
 * Compose a URL for downloading cells data (as JSON or .CSV format) from a Google Sheets by using Google Visualzation Table Query
 * API. The target spreadsheet should be shared by either "Public on the web" or "Anyone with the link".
 *
 * (GVizTQ = Google Visualzation Table Query)
 *
 * The follwoings are some composed examples:
 *
{'fraction_non_alphanumeric': 0.09173272933182333, 'fraction_numerical': 0.0, 'mean_word_length': 3.883977900552486, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1326914', 'n_tokens_mistral': 260, 'n_tokens_neox': 250, 'n_words': 117}