# Common Lab Test Quantities profile

**URL:** <https://farmos.discourse.group/t/common-lab-test-quantities-profile/1779>\
**Category:** Using farmOS\
**Created:** [November 1, 2023, 7:52pm UTC](https://farmos.discourse.group/t/common-lab-test-quantities-profile/1779 "2023-11-01T19:52:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [November 2, 2023, 12:27pm UTC](https://farmos.discourse.group/t/common-lab-test-quantities-profile/1779/4 "2023-11-02T12:27:08Z")

</div>

Gotcha! Yea so there are a few different ways you might go about this.

One, which @gbathree might be able to help you with, is to create a [SurveyStack](https://app.surveystack.io/) survey that asks for a standard set of inputs, with a script that packages that up into a standardized “Lab test” log that it sends to each farmOS instance. That will ensure that all the logs end up with the same set of quantities. That would be possible to build without any changes to farmOS itself, but would require that you have all your farmOS instances connected to the SurveyStack Aggregator. Talk to @gbathree about that… 🙂

Another option is to write a new farmOS module.

> **[farmOS module development](https://farmos.org/development/module/)**
>
> farmOS is a free and open source web-based application for farm management, planning, and record keeping.

This module could provide a new “Quick Form”, which works very similar to a SurveyStack survey, but lives in farmOS itself.

[https://farmos.org/development/module/quick/](https://farmos.org/development/module/quick/)

Or, the module could provide a custom CSV importer, which expects a CSV with specific headers for the quantities that you want to gather.

> **[CSV importers](https://farmos.org/development/module/csv/)**
>
> farmOS is a free and open source web-based application for farm management, planning, and record keeping.

There are certainly other ways! You could write a Python script using farmOS.py:

> **[Introduction](https://farmos.org/development/farmos-py/)**
>
> farmOS is a free and open source web-based application for farm management, planning, and record keeping.

> [@Example farmOS.py CSV import script](https://farmos.discourse.group/t/example-farmos-py-csv-import-script/869):
>
> On the last monthly call there was some interest in importing data from CSV/spreadsheets into farmOS - ping @walt @Kamitor @varunity ? I hope this example can help serve as a starting point for other custom CSV importers using Python + farmOS.py. Code + installation and usage instructions are here: [farmOS.py 2.x Import example · GitHub](https://gist.github.com/paul121/7ec9685b6ca216b3b0173d8a16f1de04) This example reads a name, crop, variety and date from a CSV and creates a Plant asset with a seeding log on the specified date. The Plant asset’s plant\_type is…

Or a Javascript app using farmOS.js:

> **[Introduction](https://farmos.org/development/farmos-js/)**
>
> farmOS is a free and open source web-based application for farm management, planning, and record keeping.

I’ll leave it at that… maybe others will have more suggestions. 🙂

---

_[View the full topic](https://farmos.discourse.group/t/common-lab-test-quantities-profile/1779)._
