Quantcast
Channel: Mockaroo Community Forum - Latest posts
Browsing all 2665 articles
Browse latest View live

How can I add random json among static key and value

I think you can use indexing ???

View Article


Formula Result Exceeds Type Parameters

I have a basic schema using numbers; {lower, upper, qty}. I set the max and the min parameter for each and then used a formula to create the number for upper as lower * 3. It seems thought that a...

View Article


How do I set a sequence field at a specific number using url param

remove to “:” before start. the documentation is a bit misleading

View Article

How can I add random json among static key and value

I’m not sure I follow. Your values are fruits but your questions says you want to select “ONE or Two or Three”. And finally you ask how to randomize from the above list. Could you provide additional...

View Article

Image may be NSFW.
Clik here to view.

Formula Result Exceeds Type Parameters

@mockaroo I am not sure the intended behavior but FireAw.ai thinks the formula reference result must be within the parameters set. That does not happen with my schema though. See FireAW.ai response to...

View Article


Cannot Run 'if condition'

Can you provide your schema by posting the Public URL: (at the bottom of your schema).

View Article

How can I add random json among static key and value

I put together this schema. The first field called fruit, uses the Custom List type. The second and third fields are using a dataset.

View Article

My first row is getting ignored when providing dataset when trying to...

Do you have a schema to provide (Public URL)? Are you using the Import fields from CREATE TABLE sql feature? Please provide more detail so we may assist.

View Article


Image may be NSFW.
Clik here to view.

Need to create a dependent list

Here is a schema you can review. I use 2 fields using Custom List type. The magic happens with the Dynamic distribution. Click on the bar graph and you will see how it randomly distributes your values...

View Article


Determine the value in one field based on the value from another field (both...

Here are a couple of examples that show how to use Custom Lists. Custom Lists, random https://mockaroo.com/b4fa63a0 This uses a dataset- https://mockaroo.com/ca93fbb0

View Article

Possible bug? Phone number missing digits

Hi everyone! I’ve recently used Mockaroo to generate a comprehensive 1000 rows x 60 columns dataset. Upon subsequently validating the dataset I noticed that in a small number of occurrences (precisely...

View Article

Blank Locations vs. Blank Location Fields

Is there a way to ensure that my data includes, say, 20% blank locations: 111 Main St, Anytown, CA 90001 <=== Blank location instead of blank fields within a location: 111 Main St, , CA 90001 123...

View Article

Blank Locations vs. Blank Location Fields

How do you have your schema setup? Can you provide the link please?

View Article


Increment Number Based on Boolean Value

I want to increment a field based on a random boolean value generated. I tried using a sequence and adding a formula on the sequence to only increment when the boolean was true. This didn’t work. I...

View Article

Possible bug when requesting with the same parameters and different handling...

I I was sending a request with this url https://my.api.mockaroo.com/users/456?key=123xxx by postman and also with this url https://my.api.mockaroo.com/users/456 and sending the key parameter as part...

View Article


Image may be NSFW.
Clik here to view.

Mockaroo-python: Python library for Mockaroo APIs 🐍

Hi, For anyone who uses Python and Mockaroo , I wrote a Python library to simplify interactions with Mockaroo APIs + . It lets you easily retrieve supported data types, upload datasets, remove...

View Article

Image may be NSFW.
Clik here to view.

Issue: Mockaroo API POST generate(.format) - SQL and XML

When using a POST request to the generate ENDPOINT for either SQL or XML format, result in an error: XML- {“error”:“undefined method `xml_root_element’ for nil:NilClass”} SQL - {“error”:“undefined...

View Article


Make a column null based on another column

I am making a schema that includes addresses. I have the address separated into the columns ‘suburb_id’, ‘address’, and ‘postal_code’, The suburb_id has a random chance of being null. Is there a way...

View Article

Make a column null based on another column

You can do this by adding the following inline formula (The [Σ] button) to address and postal_code: if suburb_id.nil? nil else this end Just make sure that the suburb_id field comes before the other...

View Article

Image may be NSFW.
Clik here to view.

Make a column null based on another column

Thank you very much

View Article
Browsing all 2665 articles
Browse latest View live


Latest Images