Lookup using from_dataset() regularly times out
In the Preview, it was always from the first row all the way down. I might have downloaded it once to see if it was only a side effect of the Preview mode, and I think it was throughout the whole file.
View ArticleLookup using from_dataset() regularly times out
That makes sense. There is a timeout to prevent bad user scripts from hogging processing power, but the initial indexing of large datasets for lookup might exceed that under heavy load. I'm going to...
View ArticleCannot use from_dataset() with join criteria on capitalized field name
Actually, I was wrong, you can use upper case symbols as hash keys in ruby, so MemberId: field('MemberId') should work find. The only problem was that you needed the field() call on the right side of...
View ArticleLookup using from_dataset() regularly times out
Just deployed an update which bumps up the timeout for loading/indexing datasets to 1 minute. That should allow for much larger datasets.
View ArticleHow to exclude parent when children are null
Is there a way to exclude the parent object when the child elements are all null? JSON Example: This is the current generated output: { "name":"John Smith", "address": { "street": null, "city": null,...
View ArticleHow to exclude parent when children are null
Never mind. Found another question with about the same reqs. and the solution is to uncheck "include null values". DUH!
View Article[suggestion] Add KNEX format output
I use knex to define and seed a test database. A single line of test data looks like this ; knex('posts').insert({ "_id": "57266a80-39a0-4c4d-a574-fe268cc754eb", "title": "Director of Sales",...
View ArticleConditional sequence incrementing
Is it possible to add support (in the form of a handy icon on a sequence) to conditionally increment a sequence when a formula evaluates to true (or something similar)? I need to only increment and...
View ArticleConditional sequence incrementing
Unfortunately, it's not. Mockaroo parallelizes data generation onto multiple processors and multiple servers. This means that each row needs to be generated independently of the previous row....
View ArticleInconsistent behavior of DataSet Column type for Cartesian selection
I had a schema that I edited a bit -- rearranging columns, changing column sources, and deleting other columns -- and then it broke inexplicably. Then I simply cloned the schema without any changes,...
View ArticleCan I create a single mandatory / required value
I'm trying to generate some records containing data that is dependent on other rows in the dataset. There are two different dependencies, and I'm assuming that the correct solution is simply to...
View ArticleGenerate mock MongoDB GeoJson
Hi, I'm trying to generate some mock geojson data for a mongodb import. The fields are specified in this way: loc.type - Custom list, value: Point loc.coordinates[1] - Longitude loc.coordinates[2] -...
View ArticleAccessing $oid in JSON
I have a schema [{ "id": { "$oid": "589ccc5dfc13ae0a260003e8" },...}] I would like to be able to access the value of the MongoDB ObjectId field, $oid, but everything I try gives me a syntax error:...
View ArticleGrouping formulas - multiple elseif statements (with AND function) not...
Let me start by saying I think this website is phenomenal! I am trying to use two fields with grouping logic based on two other fields in the data. Both keep coming up with syntax errors and I am not...
View ArticleIs post processing required for data dependent on other rows?
You can generate values based on other fields in your schema using Formulas. Here's a video on Formulas:
View ArticleGenerate mock MongoDB GeoJson
I think this is what you need: https://www.mockaroo.com/b05e5800
View ArticleAccessing $oid in JSON
Looks like just calling to_s works: https://www.mockaroo.com/fdaff050
View ArticleGrouping formulas - multiple elseif statements (with AND function) not...
This trips up everyone. In ruby it's elsif, not elseif. So many people have run into that so I think I'm going to put in a string replace to fix it soon.
View ArticleGrouping formulas - multiple elseif statements (with AND function) not...
Thanks! it got one of them to work fine... this one is still throwing a syntax error... if bad_search_pct>.75 then '+75%'elsif bad_search_pct>=.50 and bad_search_pct<=.75 then '50%-75%'elsif...
View Article