One of the key points of using Mockaroo is the ability to provide consistency within data records and that’s very good but I get an issue with countries. I have made a crude fix by having a field “__country” that I sometimes set to just “United Kingdom” otherwise I get too many foreign ones which doesn’t reflect the content of the database. AFAICT, the country of the record is set by the first invocation of a country field type a further call to country doesn’t change it. The difference between this and the example of the car dealerships is the fact that the country sets the context of a number of other fields such as postcode.
What I would like to do is to be able to set the country or the distribution of countries according to the frequency column in a dataset. I have a table of ISO country codes with a frequency column. Ideally it could be done in a similar fashion to “Custom Lists” though it would need settings just add the values required and a weight for “All the rest.”
I would also like to invoke country a second time and get a different result.
BTW, am I right in thinking that the Country Code type is a the ISO 2-char code?