cfUser-class | R Documentation |
Create a cfUser
object to allow the user to log into CliFlo from R
and build their query.
cf_user(username = "public", password = character())
username |
a character string to be used as the cliflo username |
password |
a character string to be used as the cliflo password |
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.
cfUser
object
For the 'public' user (see examples) only the Reefton Ews station data is available.
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 ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.