The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
The nascaR.data package hosts its canonical race
results datasets publicly on Cloudflare R2. While R users can leverage
load_series(), non-R users or developers building external
pipelines can access these datasets directly in both Parquet and CSV
formats.
All datasets are updated every Monday at 5:00 AM EST during the racing season.
Parquet is highly recommended as it preserves exact column data types and has a significantly smaller file size.
https://nascar.kylegrealis.com/cup_series.parquethttps://nascar.kylegrealis.com/nxs_series.parquethttps://nascar.kylegrealis.com/truck_series.parquethttps://nascar.kylegrealis.com/cup_series.csvhttps://nascar.kylegrealis.com/nxs_series.csvhttps://nascar.kylegrealis.com/truck_series.csvYou can download any of these files directly using curl
or wget:
# Download Cup Series CSV results
curl -O https://nascar.kylegrealis.com/cup_series.csv
# Download NXS Series Parquet results
curl -O https://nascar.kylegrealis.com/nxs_series.parquetWhen ingesting the CSV files, pay special attention to the
Car (car number) column.
In NASCAR, car numbers can contain leading zeros (e.g.,
"08", "09"), which represent entirely
different teams and entries from single-digit numbers (e.g.,
"8", "9").
By default, most CSV parsers (including R’s read.csv()
and Python’s pandas.read_csv()) guess column types based on
initial rows and will parse the Car column as an integer.
This strips leading zeros, incorrectly converting "08" to
8.
When reading the CSV file in R, explicitly specify that the
Car column should be parsed as a character string:
When reading the CSV file in Python, use the dtype
argument to treat the Car column as a string:
import pandas as pd
# Load CSV and preserve leading zeros
cup = pd.read_csv("cup_series.csv", dtype={"Car": str})By specifying the type as a string/character, you ensure the car numbers remain accurate for historical roster matching.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.