check_for_blank: 'check_for_blank' Check to make sure there are no blank...

Description Usage Arguments Details Value Examples

View source: R/check_for_blank.R

Description

check_for_blank Check to make sure there are no blank addresses in the address column of the input file.

Usage

1
check_for_blank(addresses)

Arguments

addresses

The dataframe column containing the addresses.

Details

The API query will throw an error and stop the geocoding process for the whole file if a URL is constructed with a blank address.This function prevents wasted queries (only so many are allowed at no charge) by throwing an error that tells the user to fix blank addresses.

Value

Simply return the input addresses if there are no blanks.

Examples

1
2
3
4
## Not run: 
check_for_blank(df['Business Address'])

## End(Not run)

12mre1/geocodr documentation built on Oct. 30, 2019, 4:02 a.m.