* RandomLocationGenerator
Last updated
Last updated
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.
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) ["en_US"]
Create locations from the US in English.
<list>
missing_value_generation
: Add this argument to determine how to recreate missing values during the reverse transform phase
(default) 'random'
Randomly assign missing values in roughly the same proportion as the original data.
None
Do not recreate missing values.
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.
Worldwide, regional data is provided by www.geonames.org.
Create data from the list of countries specified in the languages specified.
For example [
,
]
creates a mix of locations from the US in English and from Canada in French.
*SDV Enterprise Feature. This feature is available to our licensed users and is not currently in our public library. For more information, visit our page to Explore SDV.