qc_coordinates: Commodity function to check site coordinates

View source: R/qc_coordinates_functions.R

qc_coordinatesR Documentation

Commodity function to check site coordinates

Description

Wrap around qc_check_coordinates and qc_fix_latlong_errors to process coordinates data in one step

Usage

qc_coordinates(
  data,
  maps_folder = getwd(),
  plot = FALSE,
  sign_errors = TRUE,
  special_countries = TRUE,
  parent_logger = "test"
)

Arguments

data

Data frame with data coming from qc_check_coordinates (with latitude, longitude, country and is_inside_country variables).

maps_folder

Folder route where the maps are stored, by default the working directory. It must be a character object and it must end without /.

plot

Logical indicating if plots for coordinate are created and saved in the working directory. By default, plot are not saved.

sign_errors

Logical indicating if sign errors must be checked and fixed. If TRUE (default), qc_coord_sign_test is internally called.

special_countries

Logical indicating if the special approach to countries having positive and negative coordinates must be used. See qc_fix_latlong_errors for details.

See Also

Other Quality Checks Functions: create_dic(), qc_data_results_table(), qc_ext_radiation(), qc_factor_values(), qc_get_biomes_spdf(), qc_get_biome(), qc_get_timezone_coord(), qc_is_timestamp(), qc_md_cols(), qc_md_results_table(), qc_measured_sfn(), qc_pl_treatments(), qc_psi_N_nas(), qc_psi_SE_nas(), qc_psi_nas(), qc_set_timezone(), qc_simplify_questions(), qc_species_names_info(), qc_species_names(), qc_species_verification(), qc_start_process_psi(), qc_timestamp_nas()


vflo/PSIsapfluxnetQC1 documentation built on Feb. 15, 2024, 3:19 a.m.