cfUser-class: The Clifro User Object

Description Usage Arguments Details Value Note See Also Examples

Description

Create a cfUser object to allow the user to log into CliFlo from R and build their query.

Usage

1
cf_user(username = "public", password = character())

Arguments

username

a character string to be used as the cliflo username

password

a character string to be used as the cliflo password

Details

An object inheriting from the cfUser class is created by the constructor function cf_user. The user must have an active subscription to cliflo in order to create a valid object, unless a 'public' user is sought. Visit https://cliflo.niwa.co.nz/ for more information and to subscribe to cliflo.

Value

cfUser object

Note

For the 'public' user (see examples) only the Reefton Ews station data is available.

See Also

valid_cfuser for details on the validation of cfUser and summary,cfUser-method to summarise user information.

Examples

1
2
3
4
5
## Not run: 
public.cfuser = cf_user(username = "public")
public.cfuser

## End(Not run)

clifro documentation built on Oct. 5, 2017, 9:02 a.m.