RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post

Recently Published

Data 608 Story 3
U.S. Import & Export Trade Balances
* Trade Balance: Goods and Services, Balance of Payments Basis (BOPGSTB) * Import Price Index (End Use): All Commodities (IR) In May 2026, U.S. import prices rose 1.9 percent following an increase of 2.0 percent in April. U.S. export prices advanced 1.3 percent in May, after rising 3.5 percent in April. Over the past 12 months, import prices increased 6.7 percent and export prices rose 11.2 percent. Import fuels and lubricants prices increased 20.0 percent over the past 12 months. During the same period, prices for import petroleum and petroleum products rose 22.0 percent while the price of import natural gas ticked up 0.1 percent. Nonfuel import prices increased 2.9 percent on a 12-month basis, the largest over-the-year increase since October 2022. Higher prices for capital goods; nonfuel industrial supplies and materials; and consumer goods, excluding automotives more than offset lower prices for automotive vehicles, parts, and engines as well as for foods, feeds, and beverages from April 2025 to April 2026. Prices for agricultural exports increased 4.3 percent over the past 12 months, as higher prices for soybeans and meat drove the over-the-year increase. Prices for nonagricultural exports increased 9.3 percent from April 2025 to April 2026. Higher prices for nonagricultural industrial supplies and materials; capital goods; and consumer goods, excluding automotives led the 12-month increase.
Boston Crime
crimes in Boston
U.S. Average Retail Gasoline Prices
U.S. Average Retail Gasoline Prices Regular Gasoline Price … National Average (GASREGW) Based on the most recent data from the U.S. Energy Information Administration (EIA), here’s an explanation of GASREGW (Regular Gasoline Price National Average): What GASREGW Means GASREGW is the official designation for tracking regular-grade gasoline prices across the United States It represents a weighted average based on sampling from approximately 900 retail outlets Prices are collected at 8:00 AM Monday each week The price includes all taxes and represents self-service unless only full-service is available Technical Specifications Regular Gasoline must have an antiknock index (average of research octane rating and motor octane number) greater than or equal to 85 and less than 88 Octane requirements may vary by altitude Prices are reported in dollars per gallon, not seasonally adjusted
Johnson Exam 1
Document
ANOVA
PROJECT 2 UPDATED
The focus of Project 2 is to practice the R packages tidyr and dplyr to prepare three different datasets for downstream analysis. Data Tidying and Transformation, incorporating your existing data-cleaning code and adding two important techniques: 1. Window functions: row_number(), min_rank(), dense_rank(), percent_rank(), lag(), lead(), and cumsum(). 2. Feature engineering: Creating new variables from existing variables to support downstream statistical analysis. The code works with your three datasets: AI Usage, College Majors, and Student Dropout Risk. Because the actual column names have not been provided, the code uses numerical variables that exist in each dataset rather than assuming specific columns are available.