Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create a random item of the specified type
ResourceFunction["RandomItem"][item] generates a random item of the specified type. | |
ResourceFunction["RandomItem"][item,n] generates n random items. |
"CreditCard" | credit card number |
"Emoji" | emoji character |
"PersonName" | person's name |
"Address" | full address |
"PhoneNumber" | phone number |
"StreetAddress" | street address |
"UserAgent" | browser's user agent string |
"BankAccount" | basic bank account number (BBAN) |
"ABA" | bank routing number |
"BBAN" | basic bank account number |
"IBAN" | international bank account number |
"SWIFT" | international SWIFT code (8 or 11 digits) |
"SWIFT11" | 11-digits SWIFT code |
"SWIFT8" | 8-digit SWIFT code |
"Chrome" | Chrome browser |
"Firefox" | Firefox browser |
"InternetExplorer" | Internet Explorer browser |
"Opera" | Opera browser |
"Safari" | Safari browser |
Generate random name:
In[1]:= |
Out[1]= |
Generate a street address:
In[2]:= |
Out[2]= |
Generate random emojis:
In[3]:= |
Out[3]= |
Generate a Dutch name:
In[4]:= |
Out[4]= |
Generate a French name:
In[5]:= |
Out[5]= |
Generate four Japanese names:
In[6]:= |
Out[6]= |
A complete credit card specification:
In[7]:= |
Out[7]= |
Generate various random credit card properties:
In[8]:= |
Out[8]= |
In[9]:= |
Out[9]= |
In[10]:= |
Out[10]= |
A few random user agents that identify web browsers:
In[11]:= |
Out[11]= |
In[12]:= |
Out[12]= |
In[13]:= |
Out[13]= |
Generate phone numbers:
In[14]:= |
Out[14]= |
Generate bank routing numbers (ABA):
In[15]:= |
Out[15]= |
Generate basic bank account numbers (BBAN):
In[16]:= |
Out[16]= |
Generate international bank account numbers (IBAN):
In[17]:= |
Out[17]= |
Generate SWIFT codes:
In[18]:= |
Out[18]= |
Generate 8-digit SWIFT codes:
In[19]:= |
Out[19]= |
Generate 11-digit SWIFT codes:
In[20]:= |
Out[20]= |
Generate 8-digit EAN barcodes:
In[21]:= |
Out[21]= |
Generate 13-digit EAN barcodes:
In[22]:= |
Out[22]= |
Certain item types support a "Locale" option for localized results that can be given in various ways:
In[23]:= |
Out[23]= |
Generate a French name:
In[24]:= |
Out[24]= |
Generate Japanese names:
In[25]:= |
Out[25]= |
Generate German addresses:
In[26]:= |
Out[26]= |
Generate synthetic user data that can be used for testing web forms:
In[27]:= |
Out[27]= |
In[28]:= |
Out[28]= |
Generate a Greek dataset with validation data:
In[29]:= |
Out[29]= |
Wolfram Language 14.0 (January 2024) or above
This work is licensed under a Creative Commons Attribution 4.0 International License