Common Functions
This module provides core utilities and constants used throughout the FMDData.jl package for processing Foot-and-Mouth Disease seroprevalence data.
Main Module
The main FMDData module that orchestrates all data processing functionality:
FMDData Module
FMDDataA Julia package for cleaning and processing Foot-and-Mouth Disease (FMD) seroprevalence data from Indian Council of Agricultural Research (ICAR) annual reports.
sourceConstants
Package-wide constants that define standard values and configurations:
FMDData.default_allowed_serotypes Constant
default_allowed_serotypesA vector of default allowed serotype names for FMD data processing. Contains the three main FMD serotypes: "o", "a", and "asia1".
sourceUtility Functions
Core utility functions that support data processing operations across the package.
Directory Management
Functions for managing file paths and directory structures used in the data processing pipeline:
FMDData.input_dir Function
input_dir(args...)Returns the absolute path to the inputs directory of the project.
FMDData.icar_inputs_dir Function
icar_inputs_dir(args...)Returns the absolute path to the extracted-seroprevalence-tables directory, which contains the raw ICAR report data.
FMDData.icar_outputs_dir Function
icar_outputs_dir(args...)Returns the absolute path to the icar-seroprevalence directory, which contains the cleaned and processed data.
FMDData.icar_cleaned_dir Function
icar_cleaned_dir(args...)Returns the absolute path to the cleaned directory, which contains the cleaned ICAR report data.
FMDData.icar_processed_dir Function
icar_processed_dir(args...)Returns the absolute path to the processed directory, which contains the processed ICAR report data.
Data Processing Utilities
Helper functions for common data manipulation tasks and filtering operations:
FMDData.skip_missing_and_nan Function
skip_missing_and_nanConvenience function to skip missing and/or NaN values in a iterator.
Returns another iterator.
sourceFMDData.skip_nothing Function
skip_nothingConvenience function to skip nothing values in an iterator
Returns another iterator.
sourceFMDData.update_regex Function
update_regex(
original_reg::Regex,
find_reg::Regex,
substitution_str::SubstitutionString
)Update a Regex string using regex and a substitution string.
source