Closed julieannhart closed 3 years ago
Some more info: the auk_ebd function is looking for column name "Breeding Bird Atlas Code" which has been replaced by "Breeding Code" and "Behavior Code". I'm not sure how the information is stored, so it may be a simple replacement or a combination of the two columns.
The first row of the EBD I have has these columns:
GLOBAL UNIQUE IDENTIFIER LAST EDITED DATE TAXONOMIC ORDER CATEGORY COMMON NAME SCIENTIFIC NAME SUBSPECIES COMMON NAME SUBSPECIES SCIENTIFIC NAME OBSERVATION COUNT BREEDING CODE BREEDING CATEGORY BEHAVIOR CODE AGE/SEX COUNTRY COUNTRY CODE STATE STATE CODE COUNTY COUNTY CODE IBA CODE BCR CODE USFWS CODE ATLAS BLOCK LOCALITY LOCALITY ID LOCALITY TYPE LATITUDE LONGITUDE OBSERVATION DATE TIME OBSERVATIONS STARTED OBSERVER ID SAMPLING EVENT IDENTIFIER PROTOCOL TYPE PROTOCOL CODE PROJECT CODE DURATION MINUTES EFFORT DISTANCE KM EFFORT AREA HA NUMBER OBSERVERS ALL SPECIES REPORTED GROUP IDENTIFIER HAS MEDIA APPROVED REVIEWED REASON TRIP COMMENTS SPECIES COMMENTS
Thanks for catching that Julie! Should be fixed now, but let me know if you're still having problems.
The breeding and behavior code columns were changed in spring 2021 and the auk_breeding script still refers to the old column names. Here is the error I get when using the auk_breeding function to filter data:
I am using the latest CRAN version 0.5.0 of auk and EBD data downloaded 10/17/2021.