compare_gfdata: Compare Preliminary and Finalized 'GreenFeed' Data

View source: R/compare_gfdata.R

compare_gfdataR Documentation

Compare Preliminary and Finalized 'GreenFeed' Data

Description

Compare preliminary and finalized 'GreenFeed' data.

Arguments

prelimrep

a data frame with preliminary 'GreenFeed' data

finalrep

a data frame with finalized 'GreenFeed' data

start_date

a character string representing the start date of the study (format: "dmy")

end_date

a character string representing the end date of the study (format: "dmy")

Value

Data frame including records removed from preliminary and final reports

Examples

# Datasets with preliminary and finalized GreenFeed data
prelimrep <- system.file("extdata", "StudyName_GFdata.csv", package = "greenfeedr")
finalrep <- system.file("extdata", "StudyName_FinalReport.xlsx", package = "greenfeedr")

data <- compare_gfdata(
  prelimrep,
  finalrep,
  start_date = "2024-05-13",
  end_date = "2024-05-20"
)


greenfeedr documentation built on April 4, 2025, 12:22 a.m.