davidclarance / rabm

The `rabm` package provides an interface to the Africa Bird Atlas data.
https://davidclarance.github.io/rabm/
3 stars 1 forks source link

Data pull functions return parsing errors #6

Open davidclarance opened 5 years ago

davidclarance commented 5 years ago

Early in SABAP2's life, data was inputted manually. This led to inputs errors and hence dplyr's read_* returns parsing errors.

Alan reproduced one of these errors below:

image

Need to make dplyr's call silent as I want to ensure that other messages/warnings as passed (if any).

Rafnuss commented 4 years ago

I got a similar issue for

all.s <- extract_all(
  start_date = '1990-01-01',
  end_date = '2020-01-01',
  region_type='group',
  region_id='40147_SthCst-KE'
)

I don't really understand what is the problem and therefore how to solve it. @davidclarance, could you help with this?

davidclarance commented 4 years ago

@Rafnuss this i because back in the day data was inputted manually and there were no validation checks on inputs. So there's data in the DB that has incorrect format. Since these aren't many records, I guess you can ignore them.