# Example with required fields missing
df <- data.frame(
visit_year = 2024,
station_name = NA
)
check_datatype(df, level = "error")
# Example checking recommended fields as warnings
check_datatype(df, level = "warning")
Run the code above in your browser using DataLab