View source: R/read_phenocam.r
| read_phenocam | R Documentation | 
Reads PhenoCam data into a nested list, preserving header data and critical file name information.
read_phenocam(filename)
filename | 
 a PhenoCam data file  | 
A nested data structure including site meta-data, the full header and the data as a 'data.frame()'.
## Not run: 
# download demo data (do not smooth)
download_phenocam(site = "harvard$",
                  veg_type = "DB",
                  roi_id = "1000",
                  frequency = "3",
                  smooth = FALSE)
# read the phenocamo data file
df = read_phenocam(file.path(tempdir(),"harvard_DB_1000_3day.csv"))
# print data structure
print(summary(df))
# write the phenocamo data file
write_phenocam(df, out_dir = tempdir())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.