Check data integrity

check_data_integrity(x)

Arguments

x

dataframe with at least colums lat, long and primary_fur_color

Value

Original dataframe if all tests are good. Otherwise stops.

Examples

datafile <- system.file("nyc_squirrels_sample.csv", package = "fusen.squirrels") nyc_squirrels <- read.csv(datafile) nyc_squirrels_ok <- check_data_integrity(nyc_squirrels)
#> All tests are good !