Skip to contents

The column names in some datasets such as My Data are not ideal: they contain white spaces and follow complex capitalisation. In such cases, cols_to_ebd() can be used to standardise the column names to match the default style as in read.ebd(), i.e., fully uppercase and with periods replacing spaces.

Usage

cols_to_ebd(data, type = "mydata")

Arguments

data

eBird My Data object, or vector of column names in eBird My Data

type

character; "mydata" if personal My Data download

Value

An updated data frame with new column names, and some columns changed: PROTOCOL.TYPE and HAS.MEDIA (from ML Catalog Numbers) values converted to EBD style