Learn R Programming

sdglinkage (version 0.1.0)

gen_address: Generate an address.

Description

gen_address randomly return a UK address out of 10,000 UK addresses. The UK addresses were extracted from extract_address.

Usage

gen_address(address_file = sdglinkage::address_uk)

Arguments

address_file

A data frame of addresses. The default is UK addresses.

Value

The output is a data frame with 1 observation of 5 variables:

  1. postcode of the UK address,

  2. country,

  3. primary_care_trust,

  4. longitude of the address,

  5. latitude of the address.

Examples

Run this code
# NOT RUN {
gen_address()

# }

Run the code above in your browser using DataLab