Have students install Python (if using Data Retriever)

Types of data access

Direct Downloads

APIs

install.packages('rgbif')
library('rgbif')
rgbif::occ_search(scientificName = "Ursus americanus", limit = 50)
rgbif::occ_search(scientificName = "Ursus americanus", limit = 50,
                  fields=c('name','decimalLatitude','decimalLongitude'))

Data Packages

install.packages('gapminder')
library('gapminder')
gapminder

Data Retrievers

library(rdataretriever)
get_updates()
install('breed-bird-survey', 'csv')
counts <- read.csv("breed_bird_survey_counts")
mammal_masses <- fetch("mammal-masses")
mammal_masses$

Licenses

Citing data