check_data_integrity.Rd
Check data integrity
check_data_integrity(x)
x | dataframe with at least colums lat, long and primary_fur_color |
---|
Original dataframe if all tests are good. Otherwise stops.
datafile <- system.file("nyc_squirrels_sample.csv", package = "fusen.squirrels") nyc_squirrels <- read.csv(datafile) nyc_squirrels_ok <- check_data_integrity(nyc_squirrels)#>