Learn R Programming

ClimMobTools (version 0.5)

getProjectsCM: Get ClimMob projects

Description

Fetch the status of ClimMob projects

Usage

getProjectsCM(key, server = "climmob3", ...)

Value

A data.frame with the variables:

project_id

the project's id

project_name

the project's name

user_owner

the account name that owns the project

country

the country of project's implementation

status

the current status

creation_date

date where the project was created

Arguments

key

a character for the user's application programming interface (API) key

server

optional, a character to select from which server the data will be retrieved. See details

...

additional arguments passed to methods. See details

Author

Kauê de Sousa

Details

server: the default server is "climmob" used for clients of https://climmob.net/climmob3/, other options are:

"1000farms" for clients of https://1000farms.climmob.net/

See Also

ClimMob website https://climmob.net/

Other GET functions: getDataCM(), getProjectProgress()

Examples

Run this code
if (FALSE) { # interactive()
# This function only works with an API key
# the API key can be obtained once a free ClimMob account
# is created via https://climmob.net/

my_key <- "92cec84d-44f5-4858-9ef0-bd872496311c"

getProjectsCM(key = my_key, server = "testing")
}

Run the code above in your browser using DataLab