We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c28a647 + c3767da commit 84da937Copy full SHA for 84da937
download.js
@@ -131,6 +131,20 @@ async function downloadMain() {
131
clean.Superplant = sp;
132
clean.Showy = clean.Showy === 'Yes';
133
134
+ // Convert height and spread to numbers
135
+ if (clean['Height (feet)']) {
136
+ const heightNum = parseFloat(clean['Height (feet)']);
137
+ if (!isNaN(heightNum)) {
138
+ clean['Height (feet)'] = heightNum;
139
+ }
140
141
+ if (clean['Spread (feet)']) {
142
+ const spreadNum = parseFloat(clean['Spread (feet)']);
143
+ if (!isNaN(spreadNum)) {
144
+ clean['Spread (feet)'] = spreadNum;
145
146
147
+
148
// Process articles for this plant
149
clean.Articles = [];
150
for (const record of articleRecords) {
0 commit comments