Description Usage Arguments Details Examples
Returns HTML from an URL obained via GET-request.
1 2 3 4  | 
url | 
 Character string speficying a valid URL.  | 
encoding | 
 Character value specifying the encoding. Defaults to "UTF-8".  | 
save | 
 Logical value specifying whether the HTML-code should be saved to a txt-file.  | 
filename | 
 Character value specifying the filename (if save is TRUE). If NULL (default) as.numeric(Sys.time()) is applied.  | 
closeCon | 
 Logical value specifying whether to close open connections before and after scraping. defaults to F.  | 
method | 
 Character value specifying the method. Defaults to "libcurl".  | 
silent | 
 Logical value specifying whether to skip informative messages. Defaults to T.  | 
browseURL | 
 Locgical value specifying wether to open the URL in a web-browser. Defaults to F.  | 
curlHeaders | 
 Logical value specifying whether to apply curlHeaders. Defaults to F.  | 
headers | 
 Logical value.  | 
Returns HTML from an URL obained via GET-request. Assumes UTF-8 encoding by default. Returns a character element containing HTML-code.
1  | getHTML()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.