% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/browse.R
\name{export_datasets}
\alias{export_datasets}
\title{Export datasets to CSV}
\usage{
export_datasets(
  q = NULL,
  tcm = NULL,
  omics = NULL,
  source = NULL,
  organism = NULL,
  tissue = NULL,
  disease = NULL,
  repo = NULL,
  year_min = NULL,
  year_max = NULL,
  sort = NULL,
  file = "datasets_export.csv"
)
}
\arguments{
\item{q}{Optional search query string.}

\item{tcm}{TCM classification filter.}

\item{omics}{Omics type filter.}

\item{source}{Source type filter.}

\item{organism}{Organism filter.}

\item{tissue}{Tissue filter.}

\item{disease}{Disease filter.}

\item{repo}{Repository filter.}

\item{year_min}{Minimum publication year.}

\item{year_max}{Maximum publication year.}

\item{sort}{Sort field: \code{"relevance"}, \code{"date_desc"}, \code{"views_desc"}, or
\code{"downloads_desc"}.}

\item{file}{Output file path (default \code{"datasets_export.csv"}).}
}
\value{
Invisible file path.
}
\description{
Download a CSV export of datasets matching the given filters.
}
\examples{
\dontrun{
export_datasets(omics = "Transcriptomics", file = "transcriptomics.csv")
}
}
