extract_data: Export data from the Africa Bird Map

Description Usage Arguments Details Value Examples

View source: R/extract_data.R

Description

Pull data from the African Bird Map fit for reporting rate and other analyses. This function is temporary and will be made redundant. It is unsafe and is only for demonstrative purposes.

Usage

1
extract_data(username, user_id, password, species_id)

Arguments

username

The citizen scientist's bird map email

user_id

The citizen scientist's bird map user number (usually 5 digits)

password

The citizen scientist's password.

species_id

The species_id for which data is extracted. A complete list of species name and ids are available on the Kenya Bird Map website.

Details

The function requires a username and password in plain text. This is not how the final function will look. The final function will call the RStudio API for a safe transaction. This is just for demonstrative purposes.

Value

A dataframe with every list submitted to Africa Bird Map (includes all countries).

Examples

1
2
3
4
5
6
7
8
## Not run: 

# Extract data for the African Black-shouldered kite.

extract_data(username = "dclarance@gmail.com" ,user_id = 40664, password = "abcd", species_id = 103s)


## End(Not run)

davidclarance/africabirdmap documentation built on Sept. 3, 2019, 12:34 p.m.