Free plan

Data Profile

Get a quick summary of what is inside a data file
POST
/v1/data/profile

About this tool

This tool looks at a table and describes it. For each column it shows the type of values, how many cells are filled or empty, how many different values there are, the smallest, largest and average, and the most common values. It also counts empty and repeated rows. Your file is not changed.
For example, you get to know an unfamiliar spreadsheet in a minute before you work with it.

How to use it

  1. Choose this tool.
  2. Add your data file with Upload or drag and drop.
  3. Choose which columns to describe, or leave them all.
  4. Choose how many common values to list, then press Generate.
  5. Read or download the summary.

What you get back

You get a summary of your table, column by column. Download it in the format you chose.
GOOD TO KNOW
One file in, a report out. Nothing in the file is changed.
TEST IT LIVE

Try Data Profile in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Data
Plan
Free
Method
POST
Endpoint
/v1/data/profile
Tool ID
data.profile
Authentication
API key
Accepts
XLSX, ODS, MD, HTML, XLS, CSV +9 more
Background jobs
Yes
Usage group
Data
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/data/profile" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'file=@document.pdf' \
  -F 'columns=country,amount' \
  -F 'top=5' \
  -F 'to=xlsx'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.data.profile({
    "file": 'document.pdf',
    "columns": "country,amount",
    "top": 5,
    "to": "xlsx"
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->data()->profile([
    'file' => 'document.pdf',
    'columns' => 'country,amount',
    'top' => 5,
    'to' => 'xlsx',
]);
echo $result->requestId;
FAQ

Frequently asked questions

Describe what is in a data file: for every column its type, how many cells are filled or empty, how many different values, the smallest, largest and average, and the most common values. Also counts empty and repeated rows.

Data Profile accepts XLSX, ODS, MD, HTML, XLS, CSV, JSON, XML, TSV, NDJSON, YAML, TOML and 3 more. You can send several files in one request.

Data Profile is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/data/profile with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.