Toggle navigation
Home
▼ Details
Products and pricing
Chart gallery
User stories
Text analytics
CDC NAMCS Library
Blog
Tutorials
Contact
Sign in
Post Editor
← All help posts
View post
Save
The order of operations in Protobi, sometimes called the calculation pipeline, is the order for formatting raw data from a data file into a neat distribution you see within an element. Note: for most elements, you will not need to apply every attribute from the calculation pipeline. Refer to [How elements get their data: field, element and transform](/edit-access/how-elements-get-their-data-fields-transforms-and-elements) to review how elements get their data and the different attributes you can edit to change an element's data source. <img src="/uploads/upload/image/5200/direct/1684346440283-image.png" alt="Vertical flowchart showing Protobi's data processing pipeline with eight sequential steps: Replace, Recase, Split, Reformat, Set type, Scale, Set denominator, and Set ceiling/floor. Steps connected by gray downward arrows. Each step labeled in blue text within white rectangular boxes." width="309px"> First replace key phrases or words. This is also useful when you need to [keep certain phrases together](https://help.protobi.com/text-open-end-questions/create-word-clouds-in-protobi#Keep%20certain%20phrases%20together-8). For instance if you always want to keep the phrase “Covid 19” together replace it with “Covid\_19”. Add the replace attribute using the [JSON editor](/intermediate-editor/edit-json). Apply uniform capitalization to values using the string attribute in [Edit properties](https://help.protobi.com/edit-access/element-properties#string-8). Options include: lower case, UPPER CASE, Sentence Case, and camelCase. [Split text responses](/intermediate-editor/splitting-text-responses) or arrays of values. You can split by word or another delimiter. Common delimiters are commas (,), semicolon (;), quotes ( ", ' ), braces ({}), pipes (|), or slashes ( / \\ ). Reformat values using the [simple recode](/edit-access/simple-open-end-recoding) tool or the [advanced recode](/text-open-end-questions/advanced-open-end-recoding) tool. This is typically used to group open-ends into categories. Set the element type in [Edit properties](https://help.protobi.com/edit-access/element-properties#string-8). For open-ends you will set type to “string” and for date values convert type to “date”. For groups that do not have data themselves but have children type is already set to “empty”. The [scale](https://help.protobi.com/edit-access/element-properties#scale-11) attribute takes a numeric value or name of data column by which to multiply the values of this element. E.g. 100 will convert fractions between \[0,1\] to percents \[0,100\]. The [denominator](https://help.protobi.com/edit-access/element-properties#denominator-12) attribute takes a numeric value or name of data column by which to divide the values of this element. E.g. 100 will convert percents \[0,100\] to fractions between \[0,1\]. [Cap outlier](https://help.protobi.com/intermediate-editor/extreme-values-winsorize-trim-or-retain#Winsorizing-1) responses in an element to within a defined range by setting the "ceiling" and "floor" attributes. Add the ceiling and floor attributes using the [JSON editor](/intermediate-editor/edit-json).
Publishing
Date
Status
Published
Draft
Slug
edit
Content
Thumbnail
Categories
Manage
New to Protobi?
Charts
Making Changes
Intermediate topics for editors
Frequently Asked Questions
SERMO Topics
Tutorial Pages
Internal Docs
Data Processing
Videos
Obsolete
GSG Admin
SERMO Admin
GSG Topics
How to...
Basics for viewers
Basics for editors
For project admins
Advanced topics
Assessments
Articles (in-progress)
New and updated articles
Process data in Protobi
superseded
Text open-end questions
Troubleshooting
Tracking studies
Organizing the view
API References
Tools
AI Database
Checking AI...
Convert to MD
Danger zone
Delete