Skip to main content
NSF NEON | Open Data to Understand our Ecosystems logo

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
      • Field Offices
    • User Accounts
    • Staff

    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)
    • Samples & Specimens
      • Discover and Use NEON Samples
        • Sample Types
        • Sample Repositories
        • Sample Explorer
        • Megapit and Distributed Initial Characterization Soil Archives
        • Excess Samples
      • 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
    • 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 Revisions and Releases
        • Release 2021
        • Release 2022
        • Release 2023
      • 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
    • Spotlights
    • 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
      • Faculty Mentoring Networks
      • Data Education Fellows
    • Research Support and Assignable Assets
      • Field Site Coordination
      • Letters of Support
      • Mobile Deployment Platforms
      • Permits and Permissions
      • AOP Flight Campaigns
      • Excess Samples
      • Assignable Assets FAQs
    • Funding Opportunities

    Resources

  • Get Involved
    • Advisory Groups
      • Science, Technology & Education Advisory Committee
      • Technical Working Groups
    • Upcoming Events
    • Past Events
    • NEON Ambassador Program
    • Collaborative Works
      • EFI-NEON Ecological Forecasting Challenge
      • NCAR-NEON-Community Collaborations
      • NEON Science Summit
      • NEON Great Lakes User Group
    • Community Engagement
    • Science Seminars and Data Skills Webinars
    • Work Opportunities
      • Careers
      • Seasonal Fieldwork
      • Postdoctoral Fellows
      • Internships
        • Intern Alumni
    • Partners

    Get Involved

  • My Account
  • Search

Search

Resources

  • Getting Started with NEON Data & Resources
  • Documents and Communication Resources
  • Code Hub
  • Learning Hub
  • Research Support and Assignable Assets
  • Funding Opportunities

Breadcrumb

  1. Resources
  2. Code Hub

Code Hub

Workshop banner with code

NEON's data are often complex; working with data can be greatly simplified using software or code. We provide some code to get you started, like with our `neonUtilities` package for R, and also post links to code contributed by members of the community. The NEON-related code resources listed below are designed to make working with all NEON data easier, to perform common algorithms on select data products, and to share the code used to generate select  data products.

Most code resources that were created by and are managed by NEON can be found in the NEONScience GitHub organization. The code is free and open access to download and utilize. The code found in the NEONScience GitHub organization is published and maintained by NEON project scientists. 

Other code resources listed below are created by data users interested in sharing their code. If you have requests for coding resources, challenges with NEON data or ideas for creating NEON data-related code, we encourage you to learn more about how we categorize NEON-related code resources, and how you can submit your own code resources.

Code resources are provided at three tiers, differing in level of review by NEON:

Tier 1: Community Contributed Code Community contributed code is reviewed to determine that it is publicly available, generally comprehensible, and involves NEON data. Code functionality is not evaluated.
Tier 2: NEON Certified Code Certified code goes through a code review, to ensure it performs as described and without error.
Tier 3: NEON Production Code Production code is used in NEON data processing pipelines, to generate NEON data products. It is the end product of a very long and careful development process.

Search the table below to find code that might be useful for your project.

Language
Title Description Tier Language

neonMicrobe

This R package provides functions for working with NEON soil microbe data.

Tier 1: Community contributed code
R language
More Details

neonMicrobe is a suite of functions for downloading, pre-processing, and assembling heterogeneous data around the NEON soil microbe marker gene sequence data. To do so, neonMicrobe downloads NEON data products from the NEON Data API and processes sequences using the DADA2 workflow.

Qin et al 2021 describes the functionality of this package in detail: https://esajournals.onlinelibrary.wiley.com/doi/full/10.1002/ecs2.3842

More Info
Data products:
DP1.10086.001 | Soil physical and chemical properties, periodic, DP1.10108.001 | Soil microbe marker gene sequences
Contributor name:
Clara Qin
License:
GNU General Public v3.0
Related collection system:
TOS (Terrestrial Observation System)

neonNtrans

This R package is for calculating soil extractable inorganic nitrogen (N) concentrations and net N transformation rates (mineralization and nitrification) from soil potassium chloride extracts.

Tier 2: NEON certified code
R language
More Details
More Info
Data products:
DP1.10080.001 | Soil inorganic nitrogen pools and transformations
Contributor name:
Samantha Weintraub
License:
GNU Affero General Public v3.0
Related collection system:
TOS (Terrestrial Observation System)

neonOS

Perform common transformations on NEON observational data, including table joining and duplicate detection.

Tier 2: NEON certified code
R language
More Details

This R package provides functions for standardized duplicate checking and table-joining for NEON observational data products. It uses published metadata from the variables files and Quick Start Guides to determine the correct handling for each data product. neonOS is available via CRAN.

More Info
Contributor name:
Claire Lunch
License:
GNU Affero General Public v3.0
Related collection system:
AOS (Aquatic Observation System), TOS (Terrestrial Observation System)

neonstore

This package provides a high-level interface for downloading and storing NEON data products.

Tier 1: Community contributed code
R language
More Details

Provides functions for downloading and storing NEON data files. By using persistent storage, this package avoids repeated downloading of the same data, but enables retention of older versions of data that have since been updated. This storage system facilitates reproducibility. Also includes an option to construct a local duckdb database to work with tables that are too large to store in memory.

More Info
Contributor name:
Carl Boettiger
License:
MIT

neonUtilities

Access NEON data programmatically and stack downloaded files with this handy R package.

Tier 2: NEON certified code
R language
More Details

This package is available to install directly through CRAN. It includes functions for accessing NEON data via the API, a function to join (stack) the month-by-site files in downloaded NEON data, and functions for more specialized data access and conversion, such as extracting flux data from the published HDF5 format and converting data to geoCSV format. Check out our handy cheat sheet!

More Info
Contributor name:
Claire Lunch
License:
GNU Affero General Public v3.0
Related collection system:
AIS (Aquatic Instrument System), AOP (Airborne Observation Platform), AOS (Aquatic Observation System), SAE (Surface Atmosphere Exchange), TIS (Terrestrial Instrument System), TOS (Terrestrial Observation System)

reaRate

This R package can be used for calculating reaeration rates and associated metrics.

Tier 2: NEON certified code
R language
More Details
More Info
Data products:
DP1.20190.001 | Reaeration field and lab collection
Contributor name:
Kaelin Cawley
License:
GNU Affero General Public v3.0
Related collection system:
AOS (Aquatic Observation System)

stageQCurve

Calculates the Stage-Discharge Rating Curve for a Site and Water Year and creates a continuous discharge record from water level data.

Tier 3: NEON production code
R language
More Details
More Info
Data products:
DP1.20048.001 | Discharge field collection, DP1.20267.001 | Gauge height, DP4.00130.001 | Continuous discharge, DP4.00133.001 | Stage-discharge rating curves
Contributor name:
Kaelin Cawley
License:
GNU Affero General Public v3.0
Related collection system:
AIS (Aquatic Instrument System), AOS (Aquatic Observation System)

streamQ

This R package calculates stream discharge from slug and constant-rate salt tracer injections.

Tier 2: NEON certified code
R language
More Details
More Info
Data products:
DP1.20193.001 | Salt-based stream discharge
Contributor name:
Kaelin Cawley
License:
GNU Affero General Public v3.0
Related collection system:
AOS (Aquatic Observation System)

Pagination

  • First page
  • Previous page
  • Page 1
  • Current page 2
NEON Logo

Follow Us:

Join Our Newsletter

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

Subscribe Now

Footer

  • My Account
  • About Us
  • Newsroom
  • Contact Us
  • Terms & Conditions
  • Careers

Copyright © Battelle, 2019-2020

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

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