Health CSV Importer

Health CSV Importer

Download on the App Store

Health CSV Importer

Summary

This guide explains how to format CSVs for use with Health CSV Importer.

If you just want to skip straight to examples, click here, otherwise, read on.

Example CSVs

Here are several CSVs you can review to understand how to prepare your data.


Headers

The CSVs you import must contain headers. The header row must contain a start date header, and a data type header (with units in parenthesis).

See the “Data Types” section below for more information on supported column names and recommended units.

For example, if you would like to import a weight of 150 lbs on April 16, 2020, and 145 lbs on April 17, 2020, your CSV file might look like this:

Date,Weight (lbs)
2020-04-16,150
2020-04-17,145

Data Types

Health CSV Importer supports the following HealthKit data types:


For more details on all supported data types, consult this spreadsheet.

Note on Units

Health CSV Importer will only import data using units that are supported by HealthKit. See Apple’s documentation here for more details on what units are supported.


Date Formats

The date column can either represent a date or a datetime value. If you’re importing a datetime value, ensure that your file contains one of each of the below date and time formats.

Important: If you don’t specify a time zone, the app will import your datetimes in the UTC / GMT timezone. If your datetime values are in a local time, either convert the values to GMT or specify the timezone by appending the offset (e.g., 2018-09-24 5:55:44 AM -05:00). Please email us at [email protected] if you have questions about this.

Dates

Times

Here is an example of a correctly formatted datetime: 04-16-2020 08:07

You may also import fully-formatted ISO 8869-1 datetimes, e.g., 2020-04-16T08:07:00-07:00 (note the T separating the date and time components).


Other Notes

You can only import blood pressure data together, i.e. both diastolic and systolic values have to be present in the file you are importing. Hence, you will not be able to import only diastolic values or only systolic values separately.

As always, if you have any questions, please email us at [email protected].


A product of Lionheart Software.