Add to predefined types car VIN
Thank you for the suggestion. I've added it as a new "Car VIN" type.
View ArticleAdd to predefined types car VIN
Mockaroo, you are amazing, great thank you !!! Is working now like a charm
View ArticleHow to use RegEx in forumula
Hi, I'm new to Mockaroo. I want to use regex to generate test data as described here. I set up a field with Field Name of "phone" and Type of "Formula". I'm at a loss as to what to enter in Options...
View ArticleHow to use RegEx in forumula
I was being a dufus. I didn't notice there is a Type called "Regular Expression". Doh!
View ArticleNot JSON format [SOLVED]
Why the answer is not in JSON format?http://prntscr.com/jl9i1hMy hander script is: header 'Content-Type', 'application/json'schema "events"generate 10 Solution:I need to set schema format to json
View Article[BUG] Division operator with two field does not work
I am trying to use the / operator on two fields to get the percentage, but it does not work. I get always get 0 in my json preview. image.png1619x148 19 KB
View ArticleGenerating data keeps stalling at 87% complete
I've created a fairly complex schema and when I'm trying to generate 15,000 rows two things happen: Mockaroo sits at 0% for hours before starting When it does start it stalls at 87% and does not...
View Article[BUG] Division operator with two field does not work
My bad, did not realize the operation returned an integer
View ArticleHow to create XML Attributes
Is there a way to generate an empty element with atrributes? For example <attribute name="key" value="value" /> ?
View ArticleCreate Multi level root XML elements
How can a multi level root element be created?For example<ExportObjects> <objects> <object> Record </object> <object> Record </object> <object> Record...
View ArticleGet day of week for date column
When generating timestamps I need to have the day of the week (e.g. Saturday, Sunday, ...) as a value. I can't find a function for this. Something like: weekday(my_date) Any ideas?
View ArticleGet day of week for date column
@simeon.petkov use the strftime function:testdate.strftime("%A") where 'testdate' is the name of your date column. See https://apidock.com/ruby/DateTime/strftime for more details of the options for...
View ArticleIterating through arrays (for loop?)
I've imported a dataset of json objects containing name, uuid and slug I need a comma separated string formed with a random amount of names from the dataset I created an array of names using...
View ArticleNeed help with if statement
Hi @mp_np. That worked! Thanks so much and sorry for the silly mistake
View ArticleSetting for semicolon as CSV separator?
I want to generate CSV files that use a semicolon ; rather than a comma , as field separator. The comma is especially problematic because I can't just search&replace , for ; because random company...
View ArticleReturn blank PostCode when address is blank
If you set both fields to have the same value in % blank then they will either both be blank, or both be filled.
View ArticleSetting for semicolon as CSV separator?
@benbrownJust switch from CSV to Custom. You may need to rename the file to CSV after download as it defaults to .txtTab delimited may also suit your purpose but also downloads as .txt
View ArticleSetting for semicolon as CSV separator?
switch from CSV to Custom D'oh! Yes of course! Why didn't I see that? Thank you!
View ArticleRandom digit from another SCHEMA?
Hello,iam building table for SQLafter building the first table that I download the generate data from it, I want to build the second table, that one of is Field name and type are taken from the first...
View ArticleRandom digit from another SCHEMA?
Hi @dinbaral . Assuming you download the data from schema 1 you could upload it as a dataset so you can then use in schema 2. That I think is the only way to do it. I don't think it is possible to...
View Article