Learn R Programming

sdglinkage (version 0.1.0)

extract_address: Extract addresses.

Description

extract_address extract addresses using get_address.

Usage

extract_address(n = 100, postcode = NA)

Arguments

n

A number.

postcode

A string.

Value

The output is n addresses in the form of a data framework with n observations with 5 variables:

  1. postcode of the UK address,

  2. country,

  3. primary_care_trust,

  4. longitude of the address,

  5. latitude of the address.

If postcode is given, the return addresses are addresses having the same outward postcode