Users of auk are encouraged to set the path to the directory containing the eBird Basic Dataset (EBD) text files in the EBD_PATH environment variable. All functions referencing the EBD or sampling event data files will check in this directory to find the files, thus avoiding the need to specify the full path every time. This will increase the portability of your code. Use this function to set EBD_PATH in your .Renviron file; it is also possible to manually edit the file.

auk_set_ebd_path(path, overwrite = FALSE)

Arguments

path

character; directory where the EBD text files are stored, e.g. "/home/matt/ebd".

overwrite

logical; should the existing EDB_PATH be overwritten if it has already been set in .Renviron.

Value

Edits .Renviron, then returns the AWK path invisibly.

See also

Examples

if (FALSE) { auk_set_ebd_path("/home/matt/ebd") }