Learn R Programming

batchLLM (version 0.2.0)

scrape_metadata: Scrape Metadata

Description

Scrape metadata from the .rds log file.

Usage

scrape_metadata(df_name = NULL, log_name = "batchLLM-log")

Value

A data frame containing metadata.

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".

Examples

Run this code
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)

Run the code above in your browser using DataLab