Skip to main content
NSF NEON, Operated by Battelle

Main navigation

  • About Us
    • Overview
      • Spatial and Temporal Design
      • History
    • Vision and Management
    • Advisory Groups
      • Science, Technology & Education Advisory Committee
      • Technical Working Groups (TWGs)
    • FAQ
    • Contact Us
      • Contact NEON Biorepository
      • Field Offices
    • User Accounts
    • Staff
    • Code of Conduct

    About Us

  • Data & Samples
    • Data Portal
      • Explore Data Products
      • Data Availability Charts
      • Spatial Data & Maps
      • Document Library
      • API & GraphQL
      • Prototype Data
      • External Lab Data Ingest (restricted)
    • Data Themes
      • Biogeochemistry
      • Ecohydrology
      • Land Cover and Processes
      • Organisms, Populations, and Communities
    • Samples & Specimens
      • Discover and Use NEON Samples
        • Sample Types
        • Sample Repositories
        • Sample Explorer
        • Megapit and Distributed Initial Characterization Soil Archives
      • Sample Processing
      • Sample Quality
      • Taxonomic Lists
    • Collection Methods
      • Protocols & Standardized Methods
      • Airborne Remote Sensing
        • Flight Box Design
        • Flight Schedules and Coverage
        • Daily Flight Reports
          • AOP Flight Report Sign Up
        • Camera
        • Imaging Spectrometer
        • Lidar
      • Automated Instruments
        • Site Level Sampling Design
        • Sensor Collection Frequency
        • Instrumented Collection Types
          • Meteorology
          • Phenocams
          • Soil Sensors
          • Ground Water
          • Surface Water
      • Observational Sampling
        • Site Level Sampling Design
        • Sampling Schedules
        • Observation Types
          • Aquatic Organisms
            • Aquatic Microbes
            • Fish
            • Macroinvertebrates & Zooplankton
            • Periphyton, Phytoplankton, and Aquatic Plants
          • Terrestrial Organisms
            • Birds
            • Ground Beetles
            • Mosquitoes
            • Small Mammals
            • Soil Microbes
            • Terrestrial Plants
            • Ticks
          • Hydrology & Geomorphology
            • Discharge
            • Geomorphology
          • Biogeochemistry
          • DNA Sequences
          • Pathogens
          • Sediments
          • Soils
            • Soil Descriptions
        • Optimizing the Observational Sampling Designs
    • Data Notifications
    • Data Guidelines and Policies
      • Acknowledging and Citing NEON
      • Publishing Research Outputs
      • Usage Policies
    • Data Management
      • Data Availability
      • Data Formats and Conventions
      • Data Processing
      • Data Quality
      • Data Product Bundles
      • Data Product Revisions and Releases
        • Release 2021
        • Release 2022
        • Release 2023
        • Release 2024
        • Release-2025
      • NEON and Google
      • Externally Hosted Data

    Data & Samples

  • Field Sites
    • About Field Sites and Domains
    • Explore Field Sites
    • Site Management Data Product

    Field Sites

  • Impact
    • Observatory Blog
    • Case Studies
    • Papers & Publications
    • Newsroom
      • NEON in the News
      • Newsletter Archive
      • Newsletter Sign Up

    Impact

  • Resources
    • Getting Started with NEON Data & Resources
    • Documents and Communication Resources
      • Papers & Publications
      • Document Library
      • Outreach Materials
    • Code Hub
      • Code Resources Guidelines
      • Code Resources Submission
      • NEON's GitHub Organization Homepage
    • Learning Hub
      • Science Videos
      • Tutorials
      • Workshops & Courses
      • Teaching Modules
    • Research Support Services
      • Field Site Coordination
      • Letters of Support
      • Mobile Deployment Platforms
      • Permits and Permissions
      • AOP Flight Campaigns
      • Research Support FAQs
      • Research Support Projects
    • Funding Opportunities

    Resources

  • Get Involved
    • Advisory Groups
      • Science, Technology & Education Advisory Committee
      • Technical Working Groups
    • Upcoming Events
    • NEON Ambassador Program
      • Exploring NEON-Derived Data Products Workshop Series
    • Research and Collaborations
      • Environmental Data Science Innovation and Inclusion Lab
      • Collaboration with DOE BER User Facilities and Programs
      • EFI-NEON Ecological Forecasting Challenge
      • NEON Great Lakes User Group
      • NEON Science Summit
      • NCAR-NEON-Community Collaborations
        • NCAR-NEON Community Steering Committee
    • Community Engagement
      • How Community Feedback Impacts NEON Operations
    • Science Seminars and Data Skills Webinars
      • Past Years
    • Work Opportunities
      • Careers
      • Seasonal Fieldwork
      • Internships
        • Intern Alumni
    • Partners

    Get Involved

  • My Account
  • Search

Search

Learning Hub

  • Science Videos
  • Tutorials
  • Workshops & Courses
  • Teaching Modules

Breadcrumb

  1. Resources
  2. Learning Hub
  3. Workshops & Courses
  4. Work with Ecological Time Series Data in R | ESA 2016

Workshop

Work with Ecological Time Series Data in R | ESA 2016

Ecological Society of America Annual Meeting

August 7, 2016

Share

This 3.5-hr workshop, taught at the 2016 meeting of the Ecological Society of America (ESA) in Ft. Lauderdale, FL, will cover how to open, work with and plot tabular (.csv format) time-series data in R. Additional topics include working with time and date classes (e.g., POSIXct, POSIXlt, and Date), subsetting time series data by date and time, and created facetted or tiles sets of plots. All materials taught in this workshop were developed in collaborative effort between Data Carpentry and the National Ecological Observatory Network (NEON).

Required Prior Knowledge

The workshop will assume that participants have a basic level of familiarity with working with data in R, including installing and loading packages and data import.


This workshop will be taught at the 2016 meeting of the Ecological Society of America (ESA) in Ft. Lauderdale, FL. You must be a registered attendee of the conference and register for this workshop to participate in this workshop. For more information, visit the ESA 2016 annual meeting website.

## Things You’ll Need For The Workshop To participant in this workshop, you will need a **laptop** with the most current version of R and, preferably, RStudio loaded on your computer.

For details on setting up RStudio in Mac, PC, or Linux operating systems, please see the instructions at the bottom of this page.

Install R Packages

Please have these packages installed and updated prior to the start of the workshop.

  • ggplot2: install.packages("ggplot2")
  • lubridate: install.packages("lubridate")
  • scales: install.packages("scales")
  • gridExtra: install.packages("gridExtra")
  • reshape2: install.packages("reshape2")
  • zoo: install.packages("zoo")

Updating R Packages

In RStudio, you can go to Tools --> Check for package updates to update previously installed packages on your computer. Or you can use update.packages() to update all packages that are installed in R automatically.

More on Packages in R

Download Data

[[nid:6362]]

Once you have downloaded the data, please set up a "data" directory as a parent directory to these three uncompressed directories. Set your R working directory to this "data" directory prior to the beginning of the workshop. If you would like further instruction please see the bottom of this page.

Workshop Instructors

  • Megan A. Jones; @meganahjones, Staff Scientist/Science Educator; NEON program, Battelle
  • Samantha Weintraub; @sr_weino, Staff Scientist, Terrestrial Biogeochemist; NEON program, Battelle

Please get in touch with the instructors prior to the workshop with any questions.

Social Media

Please tweet @NEON_sci and using the hashtag #WorkWithData during this workshop!

Workshop Location

Location: Ft Lauderdale Convention Center, Rm 316 Please double check the conference schedule as rooms may change!

All online materials can be accessed and used after the workshop and are linked on the next page: Workshop Materials in menu bar.


Additional Set Up Instructions

Prior to the workshop you should have R and, preferably, RStudio installed on your computer.

[[nid:6408]] [[nid:6512]]

Time Topic
7:45 Please come early if you have any setup or installation issues
8:00 Intro to Time Series Data in R
9:00 Dealing With Dates & Times in R
9:30 --------- BREAK ---------
9:45 NoData Values & Subsetting by Date
10:10 Time Series Plots with ggplot2
10:40 Multi-panel Plots with ggplot Facets
11:15 Additional Questions & Evaluation
11:30 End

Introduction to Working With Time Series Data in Text Formats in R

Share

NSF NEON, Operated by Battelle

Follow Us:

Join Our Newsletter

Get updates on events, opportunities, and how NEON is being used today.

Subscribe Now

Footer

  • About Us
  • Newsroom
  • Contact Us
  • Terms & Conditions
  • Careers
  • Code of Conduct

Copyright © Battelle, 2025

The National Ecological Observatory Network is a major facility fully funded by the U.S. National Science Foundation.

Any opinions, findings and conclusions or recommendations expressed in this material do not necessarily reflect the views of the U.S. National Science Foundation.