getUrl-methods: LegiScan Accessor Methods - getUrl

Description Usage Arguments Value See Also Examples

Description

Generic accessor method for retrieving the base of the request URL

Accessor method for retrieving the urlBase slot of a LegiScan class object

Usage

1
2
3
4
getUrl(legiscan)

## S4 method for signature 'LegiScan'
getUrl(legiscan)

Arguments

legiscan

An object of class LegiScan

Value

Returns the value stored in urlBase slot of the LegiScan object

See Also

Other LegiScan Accessor Generics: getAPI, getAPI,LegiScan-method, getAPI,LegiScan-methods; getFormat, getFormat,LegiScan-method, getFormat,LegiScan-methods

Other LegiScan Accessor Methods: getAPI, getAPI,LegiScan-method, getAPI,LegiScan-methods; getFormat, getFormat,LegiScan-method, getFormat,LegiScan-methods

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Create object of class LegiScan
myLegiScan <- legiscanR()

# Retrieve the base URL from the LegiScan object
getUrl(myLegiScan)

## End(Not run)

wbuchanan/legiscanR documentation built on May 4, 2019, 2:01 a.m.