blob: 1ed3b0b0f77adcc7b0f7a089744c20a616888105 [file] [log] [blame]
Marc Kupietzafac5142026-09-08 10:37:42 +02001% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/cacheAs.R
3\name{cacheAsInfo}
4\alias{cacheAsInfo}
5\title{What produced a cacheAs file}
6\usage{
7cacheAsInfo(cacheAs)
8}
9\arguments{
10\item{cacheAs}{path to the file, with or without its \code{.rds} extension}
11}
12\value{
13a list with the elements \code{scoreVersion}, \code{packageVersion},
14\code{parameters}, \code{dots},
15\code{apiUrl} and \code{indexRevision}, or \code{NULL} for a file written by a version
16before 1.4.0, which recorded none of this
17}
18\description{
19Reads back what a query function recorded in a \link{cacheAs} file: the parameters
20it was called with, the KorAP instance it asked, the index revision that
21instance's corpus had at the time, and the version of RKorAPClient that wrote
22the file. Useful for saying, of a result kept next to a document, what the
23numbers in it rest on.
24}
25\examples{
26\dontrun{
27KorAPConnection() |> frequencyQuery("Ameisenplage", cacheAs = "ameisenplage.rds")
28cacheAsInfo("ameisenplage.rds")
29}
30
31}
Marc Kupietzc6e77362026-09-08 14:07:49 +020032\seealso{
33Other cacheAs:
Marc Kupietzc3de7022026-09-08 14:08:12 +020034\code{\link[=blessCacheAs]{blessCacheAs()}},
35\code{\link[=withCachedResults]{withCachedResults()}}
Marc Kupietzc6e77362026-09-08 14:07:49 +020036}
Marc Kupietzafac5142026-09-08 10:37:42 +020037\concept{cacheAs}