Download competition data file(s)

kgl_competitions_data_download(
  id,
  file_name,
  output_dir = ".",
  clean_response = TRUE
)

Arguments

id

Character. Competition name.

file_name

Character. Competition name.

output_dir

Character. Directory to save the file.

clean_response

Logical. Download the data within the response from the Kaggle API. If FALSE, this will return the object from the httr2::req_perform() call.

Value

An invisible httr2 httr2_response object.