Skip to contents

Helper function: add site metadata

Usage

add_site_metadata(
  df,
  df_col_sitecode = "SiteCode",
  meta_site_path = shiny_file("basel/data/metadata/meta_site.csv")
)

Arguments

df

data frame containing at least a column "SiteCode"

df_col_sitecode

column in df containing site code (default: "SiteCode")

meta_site_path

Define path of "meta_site.csv" to be imported (default: sema.pilot:::shiny_file("basel/data/metadata/meta_site.csv"))

Value

returns input data frame with joined metadata