Description Usage Arguments Value Author(s) Examples
patternExtract
estrae i pattern contenuti in in testo
.
urlExtract
estrae e converte gli shorturl contenuti in testo
in url. shorturl2url
sostituisce gli shorturl contenuti in
testo
in url.
1 | urlExtract(testo, id = names(testo))
|
testo |
Vettore (eventualmente con nomi) di testi contenenti shorturl. |
id |
se |
pattern |
stringa di testo da cercare ed estrarre. |
patternExtract
restituisce un data.frame
con
colonne:id, pattern
urlExtract
restituisce un data.frame
con colonne:id, shorturl
e url
Dario Solari, Livio Finos
1 2 3 4 5 6 7 | ## Not run:
testo=c("Influenza Vaccination | ONS - Oncology Nursing Society http://t.co/924sRKGBU9 See All http://t.co/dbtPJRMl00,See All http://t.co/dbtPJRMl00")
shorturl2url(testo,id=names(testo))
urls=urlExtract(testo)
patternExtract(c("@luca @paolo: buon giorno!", "@matteo: a te!"), pattern="@\w+")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.