import delimited: open CSV data in the browser
Load a delimited text file into a project and begin checking its variables immediately.
Independent software. Not affiliated with, sponsored by, or endorsed by StataCorp LLC.
Runnable example
import delimited "hsb2.csv", clear
describe
summarize math read write
The example imports the teaching CSV, inspects the resulting schema, and summarizes three numeric columns.
Checks after import
- Confirm the row and column counts.
- Check whether numeric columns were imported as numeric values.
- Inspect missing values and unexpected categories.
- Compare a few summary statistics with the source file.
Delimited files vary in separator, quoting, encoding, decimal conventions, and malformed-row behavior. A successful import does not by itself prove that every field was interpreted as intended.
Other input formats
stats.camp also has documented paths for .dta, Excel, and Parquet data. Format-specific metadata can differ, so use the workflow appropriate to the source and verify important fields.
Related guides
Try the workflow
Open the live project, inspect the existing do-file, and adapt the example above. No stats.camp account is required for the demo.
Open live demo