powered by
Extract Frequency and Specimen data from the raw data
raw2freqdata(rawdata, species = "species", year = "year")
a dataframe containing species, year
name of the column containing species names
name of the column containing year
Retirns a list of two dataframes
data - a dataframe conatining Species, Year, Freuqency and Specimens
yeardata - a dataframe containing Year and Specimens
# NOT RUN { cleandata = raw2freqdata(rawdata) fdata = cleandata$data yeardata = cleandata$yeardata # }
Run the code above in your browser using DataLab