liveBook · Manning

CSV

As explained in Building Web APIs with ASP.NET Core

CSV is a delimited text format that represents tabular data using records and comma-separated fields.

CSV is a delimited text format for tabular data, representing records with comma-separated fields. It is a practical alternative to JSON for very large datasets when bandwidth matters. section 1.1.4

For the board-game API project, CSV provides the source data containing approximately 20,000 games. The required fields can be checked before the application uses the file. section 4.2.1

Prepare and verify a CSV dataset as follows:

  • Obtain the compressed board-game dataset from Kaggle, or use the supplied bgg_dataset.csv file. section 4.2.1
  • Unpack the download to extract bgg_dataset.csv. section 4.2.1
  • Open the file in a text editor or a CSV-capable tool such as Microsoft Excel. section 4.2.1
  • Inspect the first rows and columns to confirm that the fields required by the project are present. section 4.2.1

Board-game data file

The file bgg_dataset.csv contains board-game records scraped from BoardGamesGeek. Its contents may change as the maintainer updates the dataset, so preserve the relevant version when reproducibility matters. section 4.2.1

Figure 4.3 Excerpt of the bgg_dataset.csv file
04-03

Inspect an excerpt of bgg_dataset.csv to see its rows, columns, and available fields. section 4.2.1

How Building Web APIs with ASP.NET Core covers it

How deep it goes
Defines CSV briefly and demonstrates obtaining, opening, and checking a concrete file, without detailing parsing implementation.
Examples
Uses Kaggle’s approximately 20,000-game bgg_dataset.csv and an excerpt showing its rows and columns.
What you can do after
Evaluate a CSV file by obtaining it, opening it, and confirming that required fields are present.
How it connects
Connects CSV with REST, JSON, XML, and SOAP through API format comparisons.

Also explained in

Compare how 15 books explain CSV →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Web APIs with ASP.NET Core. The section links point to the parts of the book it draws on.