Reference a field in a formula - heavily nested json
Currently, the fields on which a formula depends must come first. That's something I might be able to fix by processing all formulas last, but the same would still hold true for dependencies between...
View ArticleUniqueness of generated values
In general, are the generated values of fields such as SSN as unique as possible? I realize that it is possible to run out values in any limited domain, so asking for more SSN's than 999,999,999...
View ArticleUniqueness of generated values
No, general Mockaroo data is random, with no guarantee or effort towards uniqueness. Uniqueness is very hard to accomplish at scale. Mockaroo uses multiple concurrent processes to generate large scale...
View ArticleHow to represent **multiple, nested one-to-many relationships** for XML output?
Here's a view of what I'm trying to produce. I'm having trouble figuring out how I might represent multiple nested one-to-many relationships in Mockaroo. I've tried mucking about with datasets and...
View ArticleHow to represent **multiple, nested one-to-many relationships** for XML output?
Hmm... not with XML. The JSON format has the JSON Array type which is similar in concept, but not exactly what you need. I think I can add it though.
View ArticleHow to represent **multiple, nested one-to-many relationships** for XML output?
I've added a new type called "Repeating Element" that works like JSON Array but for XML. Give that a try. It should do what you need.
View ArticleImport json problem
Hi, I have a valid json file and i am trying to import this json file to a schema but your app keeps telling me "Sorry, something went wrong". Can you please help me about this subject.
View ArticleImport json problem
Mockaroo takes a very specific json format for importing schemas. The best way to learn it's structure is to create a schema using the website, export it as json, and open it in a text editor.
View ArticleUniqueness of generated values
That makes sense. Thank you. One would need to utilize various tricks with the row number (sequence) then.
View ArticleCannot use date functions on result of date math
I am trying to use a date function end_of_month on the result of a date math calculation. If I can do this in a formula: __EligibilityRandomDate.beginning_of_month.strftime('%Y-%m-%d') then why can't...
View ArticleCan I handle "Blanks" differently in XML output?
I'd like to use the %Blanks feature, but the way it manifests in the XML output isn't the convention I'm looking for. What I'd like to do is this... <Policy> <FileId></FileId>...
View ArticleIs there a way to adjust the width of the controls on the screen?
My excessive nesting is causing my field names to surpass the field size.
View ArticleWhat's the correct syntax for inspecting a BOOLEAN in a formula?
I've tried... if this == True then... if this == 'True' then... if this is True then... ??
View ArticleWhat's the correct syntax for inspecting a BOOLEAN in a formula?
if this then ... elsif ... else ... end
View ArticleCan I handle "Blanks" differently in XML output?
It doesn't look like it at the moment. I'll see if I can add that.
View ArticleLookup using from_dataset() regularly times out
I have a data set of 5 columns and about 87,000 lines, and I am trying to look up codes in it using the Diagnosis Code column. With only one such column in my schema, it often outputs correctly, but...
View ArticleCannot use from_dataset() with join criteria on capitalized field name
When I try to specify join criteria like this: from_dataset("Eligibility", "Id", MemberId: MemberId) it outputs errors: ClaimId,EligibilityId1000004,error: Please use field('MemberId') to access...
View ArticleCannot use from_dataset() with join criteria on capitalized field name
In Ruby upper case hash keys require this syntax: "MemberId" => field("MemberId")
View ArticleLookup using from_dataset() regularly times out
Did the time-out errors occur from the first row on, or did they start somewhere in the middle of the dataset?
View ArticleCannot use from_dataset() with join criteria on capitalized field name
I must have been fatigued when I posted this because it looks like I put the field() wrapper on the wrong end of the hash key/value pair. Part of my confusion is that I learned in other posts that the...
View Article