* RandomLocationGenerator
*SDV Enterprise Feature. This feature is available to our licensed users and is not currently in our public library. To learn more about the SDV Enterprise and its extra features, visit our website.
The RandomLocationGenerator
creates realistic, worldwide addresses. It transforms the real data by dropping all the address-related columns. Then when reverse transforming, it generates random, realistic locations from around the world. Use this transformer when you want to completely anonymize your address data.
Parameters
locales
: An optional list of locales to use when generating addresses. All addresses will be chosen from the list of available countries with the provided languages.
(default) | Create locations from the US in English. |
|
missing_value_generation
: Add this argument to determine how to recreate missing values during the reverse transform phase
(default) | Randomly assign missing values in roughly the same proportion as the original data. |
| Do not recreate missing values. |
Examples
This transformer takes multiple columns as input. Make sure that each column involved in your address is a supported sdtype such as city
, state
and postcode
. For more information, see the suported sdtypes list.
FAQs
Worldwide, regional data is provided by www.geonames.org.
Last updated