encodeUrlQuery: Encode the Input for a URL Query Segment.

Description Usage Arguments Value See Also Examples

Description

Encodes the characters of the input so they are not interpretted as reserved characters in url strings. Will also encode non-ASCII unicode characters.

Usage

1
2
3
4
encodeUrlQuery(x, ...)

## S4 method for signature 'D1Client'
encodeUrlQuery(x, querySegment, ...)

Arguments

x

A D1Client object.

...

(Not yet used.)

querySegment

: a string to encode

Value

the encoded form of the input

See Also

D1Client class description.

Examples

1
2
3
4
5
6
## Not run: 
d1c <- D1Client("STAGING", "urn:node:mnStageUCSB2")
fullyEncodedQuery <- paste0("q=id:",
    encodeUrlQuery(d1c, encodeSolr("doi:10.6085/AA/YBHX00_XXXITBDXMMR01_20040720.50.5")))

## End(Not run)


Search within the dataone package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.