Independent environmental data analysis · R · 2021–2025
Joshua Tree peaked in spring. Yosemite peaked in summer.
Seasonal Recreation Visitation Analysis — Joshua Tree and Yosemite National Parks. I compared five years of National Park Service records in R to show when visits concentrate, then checked every park-year against both reported totals. The result is a historical baseline park teams could use when timing seasonal staffing and visitor-information reviews.
R code, input data, and output tables on GitHub →

The question and purpose
When visits happen matters alongside how many.
Annual totals conceal the timing of recreation visits. I used R to compare five years of National Park Service records, identifying each park’s seasonal concentration, average monthly peaks, and annual changes.
That is a potential use of the analysis. Park-wide totals cannot determine where crowding occurs or establish staffing requirements for a particular site.
Findings
Two parks, contrasting seasonal patterns.
| Season | Joshua Tree | Yosemite |
|---|---|---|
| Winter | 29.35% | 10.21% |
| Spring | 33.56% — highest | 20.13% |
| Summer | 14.77% | 41.04% — highest |
| Fall | 22.31% | 28.62% |
Winter: January, February, December within each calendar year. Spring: March–May. Summer: June–August. Fall: September–November. Joshua Tree’s shares total 99.99% because of independent rounding.
The parks show contrasting seasonal patterns. Winter was Joshua Tree’s second-largest season (29.35%) and its quietest stretch was summer; fall was Yosemite’s second-largest season (28.62%) and winter its smallest.
Monthly peaks sharpen the comparison
March averaged 410,905.2 visits at Joshua Tree. Yosemite’s August average was 537,020, just 1,443 above July’s 535,577. July and August formed a near-equal summer peak.
The lowest average months were July at Joshua Tree (about 136,502 visits) and January at Yosemite (about 115,014).
Annual totals add context
Yosemite increased each year, from 3,287,595 visits in 2021 to 4,278,413 in 2025. Joshua Tree reached its five-year high of 3,270,404 in 2023 and recorded 2,932,644 in 2025.
Charts
Reading the monthly and annual patterns.
The seasonal-shares chart above summarizes each park’s year. These three charts show the month-by-month shape behind it and how annual totals changed. Select a chart to open it at full resolution.



Source for all charts: National Park Service Visitor Use Statistics, 2021–2025. Charts produced in R with ggplot2. Exact values for the seasonal chart are in the findings table.
Data and workflow
A repeatable R workflow, from reports to checked results.
Data sources
Four workbooks from National Park Service Visitor Use Statistics: the annual recreation visitation report and the monthly recreation visits report for each park, downloaded on November 17, 2026. The study covers five complete calendar years, 2021–2025, and excludes preliminary 2026 observations. The NPS counts recreation visits, so one person can contribute several visits. Counts are park-wide; the reports have no site-level or daily detail.
Read and standardize
Identify report headers in four workbooks, parse whole-number visit counts, retain 2021–2025, and reshape monthly records.
Validate before analysis
Check complete keys and duplicates, then reconcile every monthly sum with the monthly-report total and the separate annual report.
Compare timing and volume
Calculate monthly means, minima and maxima, pooled seasonal shares, equal-year monthly percentage averages, and annual totals.
Verify and export
Read back five exported tables and check four PNG signatures and dimensions. Keep rerun outputs separate from the original presentation charts.
One master script runs all 11 stages in order. A clean rerun under R 4.6.1 reproduced all five reference tables byte for byte.
Quality assurance
Every park-year matched across all three totals.
Across all 10 park-years, the sum of the twelve monthly counts matched both the total printed in the monthly report and the separate annual-report value exactly.
The workflow checks 10 annual records and 120 monthly records for missing or duplicate keys and stops on invalid counts or reconciliation failures. Final review also reproduced all five reference CSVs.
Exact agreement establishes consistency between the supplied reports. The counts still depend on NPS estimates and park-specific counting procedures.
What the two percentage measures mean
Seasonal shares pool visits across all five years, so higher-visitation years contribute more.
Monthly percentage averages calculate each month’s share of its own annual total, then weight the five years equally.
Scope and limitations
A historical baseline for further review.
- Recreation visits can include repeat visits; they are not counts of unique people.
- Park-wide totals cannot resolve crowding at individual sites or times of day.
- Five-year averages can conceal variation between years and do not predict future visitation.
- Weather, closures, accessibility, and management policies were not tested as causes.
- The workbooks were downloaded from the NPS IRMA site on November 17, 2026, but the park-specific export links were not recorded.
Project documents
Read the overview or inspect the methods.
The one-page overview summarizes the finding, potential use, and verification. The four-page methodology document covers definitions, data validation, limitations, rerun steps, and all four charts with captions. The GitHub repository holds the 12 R scripts, the four NPS input workbooks, the five output tables, and instructions for rerunning the analysis.
Source: National Park Service Visitor Use Statistics · NPS visit definitions and reporting FAQ.