Skip to main content

Bulk export

Bulk Export writes your records out to a spreadsheet, for reporting, for analysis in other software, to keep a copy outside the app, or to move records to another account with Sheet import.

Included with every module

Bulk Export comes with the Label module, the Diet analysis module, and the Menu creation module. What you can export depends on which of them you have; see the list below.

Not available on a trial

Bulk Export is disabled for trial accounts.

What you can export​

Choose one of these under the module picker. You only see the kinds of record your subscription and permissions allow, and the module each one belongs to is what decides that.

  • Ingredient. Label module.
  • Recipe. Label module.
  • Recipe Book. Label module.
  • Label. Label module.
  • Client. Diet analysis module or Menu creation module.
  • Client Group. Diet analysis module or Menu creation module.
  • Menu Template. Menu creation module.
  • Food Costing. Diet analysis module.

The page opens on the first kind you are allowed to export, which is not the same one for everybody. Labels can be exported but not imported, so the Label entry has no counterpart in Sheet import. The Excel workbook of every other kind can be imported as it is; see Import an exported file.

Run an export​

  1. Click Tools in the sidebar, then open Bulk Export.
  2. Choose what you want to export.
  3. Stay on the New export tab, which is the one the page opens on.
  4. Click Select Nutrients and choose the nutrient columns you want in the file. Ingredient, recipe, and label exports need at least one nutrient before they will run. Client exports do not.
  5. For a client or client group export, choose the File format. Excel workbook (all sheets) is the full export. The two CSV choices each give one sheet of it as a single file; see Diet records in a client export.
  6. Set the filters to narrow what is exported, then click Apply filter. The page reports how many records match. Reset clears the filters again. Every filter is optional. Leave them all blank to export every record of that kind, which is the way to pull everything you have entered without knowing when you started using your account.
    • Create date keeps only records added between the two dates.
    • Update date keeps only records last changed between the two dates.
    • Either range can be used on its own. When both are set, a record has to fall inside both. A range needs a start and an end date.
    • For ingredient, recipe, and label exports, the date ranges are not used when the Used data source is selected. The page says so under each range.
  7. Click Export and accept the disclaimer.

The file downloads to your browser. Exports are capped at 1,000 records, so use the filters if you have more than that.

The ingredient export has a FNDDS / NDB / CNF Code column directly after Unique Code. It holds the USDA FNDDS food code, USDA NDB number, or Canadian Nutrient File code of an ingredient copied from the Axxya Systems library, and is blank for an ingredient that has none.

Diet records in a client export​

A client export and a client group export hold two sheets about diet records. Together they give you each food a client reported and the nutrient totals for each client and day, ready to analyze in other software such as R or STATA.

The Diet sheet​

The Diet sheet has one row for every food line of every diet record. After the client, diet record, day, meal, food, and serving amount columns, each row has these columns:

  • Day Number. The position of the day in the diet record, starting at 1. Use it to tell days apart, because two days can have the same name.
  • Meal Number. The position of the meal in the day.
  • Gram Weight. The weight of the amount eaten, in grams. It is always included, whether or not you select the Weight nutrient.
  • FNDDS / NDB / CNF Code. The USDA FNDDS food code, USDA NDB number, or Canadian Nutrient File code of the food, for joining the rows to outside tables. It is blank for a food that has none.
  • Reference. The database the food came from.
  • Preparation Method and Meal Component, when the food line has them.
  • Food Text. The description shown for the food line in the diet record.
  • Calculation Note. Blank when the row was calculated. Otherwise it says why the row has no values, for example that the food line has no amount or that its unit cannot be converted for that food.

The nutrients you selected follow as further columns, scaled to the amount eaten. A food line's preparation method is applied, so the values match the Diet Record Report.

Every food line is listed. A food line that cannot be calculated has empty nutrient and gram weight cells and a Calculation Note, so you can see that a day's total does not include it.

In the Excel workbook, the Diet sheet also has a row for what holds no food: a diet record with no days, a day with no meals, and a meal with no foods. Such a row has no Food ID, no Food, and no Calculation Note. They are there so that the workbook can be imported as an exact copy, and the CSV of the Diet sheet leaves them out.

The Diet Daily Totals sheet​

The Diet Daily Totals sheet follows the sheets about the client's own records, and the Nutrient Goals sheet comes after it. It has one row for each client, diet record, and day, including a day with no foods:

  • Day Number and Day Name.
  • Foods. How many food lines the day has.
  • Foods Not Calculated. How many of them could not be calculated and are left out of the totals.
  • Total Gram Weight.
  • The total of each nutrient you selected.

Each total is the sum of that day's rows on the Diet sheet. A row on one sheet matches rows on the other by Client ID, Diet ID, and Day Number. A day in a diet record has no calendar date of its own. The diet record's Start Date and End Date are on every row.

Download a diet sheet as CSV​

Under File format, choose CSV, diet food lines for the Diet sheet or CSV, diet daily totals for the Diet Daily Totals sheet. Each export gives one CSV file, so run two exports with the same filters and nutrients to get both.

Text is saved in UTF-8. If you open the file in Excel, a food code that starts with a zero is shown without it, because Excel reads the code as a number. Statistical software reads the code as it is when you import the column as text.

Import an exported file​

The Excel workbook of an Ingredient, Recipe, Recipe Book, Menu Template, Client, Client Group, or Food Costing export can be uploaded to Sheet import without changing it. Each record becomes a new record in the importing account. Keep the sheets and the heading rows as they are; the import finds a sheet by its name and a column by its heading.

Each sheet keeps the columns it always had in their places. The columns an exact copy needs come after them and before the nutrient columns, for example the order of days, meals, and foods, a client's height in centimetres, and the exact values of a weight projection. A sheet with nutrient columns has them last.

If you export in order to import somewhere else, read The order to import in and What an export does not hold first.

See your recent exports​

The My recent exports tab lists what you have exported, with the date and whether it completed. Each row can be downloaded again from there, in the file format it was exported in. The file is rebuilt from the record of the export rather than stored, so a download always reflects your data as it is now. Click Run export to go back to the New export tab and start another one.