scrape_metadata | R Documentation |
Scrape metadata from the .rds
log file.
scrape_metadata(df_name = NULL, log_name = "batchLLM-log")
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". |
A data frame containing metadata.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.