
Convert JSON input to CSV
json_to_csv.Rd
This function takes a file with JSON input and processes it to generate corresponding output in CSV format. If the input is a character string, the output will be printed to the console. Otherwise, a CSV file will be generated with the same name as the input file but with a .csv extension.
Arguments
- file
A character string representing the path to the file with JSON input.
- n_tokens_limit
An integer representing the maximum number of tokens allowed in the input text. Defaults to 2000.
- ...
Additional arguments passed down to lower-level functions.