manual_sbi_data: Function for assembling manual data for SBI calculation

View source: R/manual_sbi_data_function.R

manual_sbi_dataR Documentation

Function for assembling manual data for SBI calculation

Description

Function calculates statistics for the manual sites that you specify for the specific year and survey period

Usage

manual_sbi_data(
  survey_period,
  manual_sites,
  get_year,
  normals_manual,
  colnames_data_manual,
  normal_max,
  normal_min,
  incorrect_sites = NA,
  incorrect_data = NA,
  force = FALSE
)

Arguments

survey_period

Survey period you are calculating SBI for

manual_sites

Manual sites that you want to get data and use to calculate SBI data for

get_year

Year that you are calculating the SBI for

normals_manual

previous normals calculated for manual sites. This is data within the /data folder

colnames_data_manual

Column names of the manual data that you will eventually export

normal_max

Date (year) of max year for normal period

normal_min

Date (year) of min year for normal period

force

whether to force the recalculation of manual normals. Defaults to FALSE (no)


bcgov/bcsnowsbi documentation built on Oct. 22, 2022, 10:36 p.m.