View source: R/ifcb_summarize_png_metadata.R
ifcb_summarize_png_metadata | R Documentation |
This function processes IFCB data by reading images, matching them to the corresponding header and feature files, and joining them into a single dataframe. This function may be useful when preparing metadata files for an EcoTaxa submission.
ifcb_summarize_png_metadata(
png_folder,
feature_folder = NULL,
hdr_folder = NULL
)
png_folder |
Character. The file path to the folder containing the PNG images. |
feature_folder |
Character. The file path to the folder containing the feature files (optional). |
hdr_folder |
Character. The file path to the folder containing the header files (optional). |
A dataframe that joins image data, header data, and feature data based on the sample and roi number.
## Not run:
png_folder <- "path/to/pngs"
feature_folder <- "path/to/features"
hdr_folder <- "path/to/hdr_data"
result_df <- ifcb_summarize_png_metadata(png_folder, feature_folder, hdr_folder)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.