% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/set_kosis_key.R
\name{set_kosis_key}
\alias{set_kosis_key}
\title{Set KOSIS API Key from a File}
\usage{
set_kosis_key(file)
}
\arguments{
\item{file}{A character string specifying the path to the file
containing the KOSIS API key.}
}
\value{
No return value. A message will be printed to confirm
that the key has been set.
}
\description{
This function reads a KOSIS API key from a specified file and
sets it for use in KOSIS API calls.
}
\details{
The file should contain the API key as a single line of text.
If the file does not exist, an error will be raised.
}
