scrape_metadata {batchLLM} | R Documentation |
Scrape Metadata
Description
Scrape metadata from the .rds
log file.
Usage
scrape_metadata(df_name = NULL, log_name = "batchLLM-log")
Arguments
df_name |
Optional. A string to match the name of a processed data frame. |
log_name |
A string specifying the name of the log file without the extension. Default is "batchLLM-log". |
Value
A data frame containing metadata.
Examples
library(batchLLM)
# Scrape metadata for all data frames in the default log file
all_metadata <- scrape_metadata()
head(all_metadata)
# Scrape metadata for a specific data frame
specific_metadata <- scrape_metadata("beliefs_40a3012b")
head(specific_metadata)
# Use a custom log file name
custom_metadata <- scrape_metadata(log_name = "custom-log")
head(custom_metadata)
[Package batchLLM version 0.2.0 Index]