Description Usage Details Note Examples
Retrieve the last query submitted to CliFlo instead of querying the database again and losing subscription rows.
1 |
This function is a back up for when the clifro query has been submitted and the data returned but has not been assigned, or inadvertently deleted. This saves the user resubmitting queries and using more rows from their subscription than needed.
Only the data from the last query is saved in clifro
.
1 2 3 4 5 6 7 8 9 | ## Not run:
# Query CliFlo for wind at Reefton Ews
cf_query(cf_user(), cf_datatype(2, 1, 1, 1), cf_station(), "2012-01-01 00")
# Oops! Forgot to assign it to a variable...
reefton.wind = cf_last_query()
reefton.wind
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.