Function to truncate data after a certain number of characters?
In the Mockaroo data generator I was wondering if there is a function or way that truncates generated data after a certain number of characters. For example I use the product name generator to...
View ArticleFunction to truncate data after a certain number of characters?
I ended up finding the answer to my own question what ended up working for me was using this syntax this[0,14]
View ArticleData not generated with double quotes when format is custom and delimiter is |
@grivera I see what you mean - not sure what else to try off the top of my head and a bit busy at the moment to do further test. Sorry
View ArticleData not generated with double quotes when format is custom and delimiter is |
No worries, I hope mockaroo support jumped in to the conversation
View ArticleRegular Expressions: How to escape "*"?
Hello, I am trying to create a Regular Expression field to generate something similar to \d{3}(\*|@)\d{3} which could result in 123*456 or 123@456. Whenever I try to escape the asterisk, I get: Error:...
View ArticleRegular Expressions: How to escape "*"?
I did come up with a workaround in the meantime. Changed the regex to \d{3}(STAR|@)\d{3} and added a formula: this.gsub(/STAR/, "*")
View ArticlePostal Codes only generate first 3 values
when generating Postal Codes, it only generates the first 3 values (eg. H2B). there should be 6. (eg. H2B 3W9). spaces are optional and i don't count them because they get stripped... just wondering...
View ArticleLook for Diesel Generator Manufacturer?
Anyone is interested in diesel generator? Want to look for a reliable diesel generator manufacturer? No matter you want 50Hz or 60Hz, single phase or three phase, we can provide you according to your...
View ArticleOnline business education
Free Internet Business Education, using the best and newest methods of designing a professional web site for you loved ones in a single article with numerous videos, but because of the modern design...
View ArticleImage iPhones and the evolution of it in Iran and the world
In the old days, the technology has not advanced so much, and at a simpler level, the living conditions are more difficult than today. Your old ladies, while hearing the sound of the alarm in your...
View ArticlePreset Distribution of Sets
How could you go about creating a preset distribution of a SET of data. For example (A|B|C|D), wanted to get the distribution of the records to be 40% A, 25% B, 20% C, 15% D.
View ArticlePreset Distribution of Sets
Found it - select the Data Column type and upload a Dataset. with a Frequency in the table.
View ArticlePreset Distribution of Sets
Out of curiosity, what were the values you used to achieve the distribution noted above?
View ArticlePreset Distribution of Sets
Same as above, you don't have to normalize - it's just a weighting. 40, 25, 20, 15....
View ArticleCorrect format for Combining fields?
Having the same issue, was there a resolution? Here is my schema https://mockaroo.com/3be40350
View ArticleSelect from dataset if matches criteria
I can't quite work out how to do this - I've seen the excellent FromDataset formula and I would like to use it to extract data from a dataset if a field in the dataset is of a certain value. so -...
View ArticleHow to replace a start of a row
I have a string containing 14 numbers, but can only start with 2 or 5.How to Implement that?For examaple.20 2222 2222 2222 or50 2222 2222 2222 if field <> 2 than 2 elseif field <> 5 than 5...
View ArticleHow to replace a start of a row
I suggest just generating 1 fewer number and randomly adding 2 or 5 at the start using the f(x) feature: ["2", "5"].sample + this
View ArticleSchema upload is not working. Any suggestion?
I am not able to upload my schema files. Initially I thought that my json was incorrect and I created one with simple a simple json {"a":"b"} and it does not work. Any help?
View ArticleSchema upload is not working. Any suggestion?
The schema json format is very specific. You can see an example if you create a schema in your browser and export it as json. Uploading schema JSON is primarily used to create and restore offline...
View Article