Create a cfUser
object to allow the user to log into CliFlo from R
and build their query.
cf_user(username = "public", password = character())
a character string to be used as the cliflo username
a character string to be used as the cliflo password
cfUser
object
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.
valid_cfuser
for details on the validation of
cfUser
and summary,cfUser-method
to summarise user
information.
# NOT RUN {
public.cfuser = cf_user(username = "public")
public.cfuser
# }
Run the code above in your browser using DataLab