download_data | R Documentation |
Download all types of 'GreenFeed' from 'API'
download_data(
user,
pass,
d,
type = 2,
unit = NULL,
start_date = NULL,
end_date = NULL
)
A dataframe
# Please replace "your_username" and "your_password" with your actual 'GreenFeed' credentials.
# By default, the function downloads the preliminary 'GreenFeed' data,
# if raw data is needed use options: "feed", "rfid", or "cmds"
download_data(
user = "your_username",
pass = "your_password",
d = "visits",
type = 2,
unit = c(304, 305),
start_date = "2024-01-01",
end_date = Sys.Date()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.