Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
io/import-data/pre-formatted/
Search...
PRE-
1. Introduction
2. Data Import
FORMATTED
Pre-formatted �les
Different encodings
FILES
3. Basic Operations
require(quanteda)
4. Statistical Analysis
require(readtext)
5. Advanced Operations
6. Scaling and First, we show how to import pre-formatted
Classi�cation �les that come in a “spreadsheet format”.
path_data is the location of sample �les on
7. Different Languages
your computer that come with the readtext
package.
More
Github repo
path_data <-
Website system.file("extdata/", package =
Clear History "readtext")
1 of 3 3/7/19, 3:42 PM
Pre-formatted files :: Tutorials for quanteda https://tutorials.quanteda.io/import-data/pre-formatted/
dat_inaug <-
read.csv(paste0(path_data,
"/csv/inaugCorpus.csv"))
1. Introduction
Different encodings
document-level variables.
3. Basic Operations
dat_inaug <-
4. Statistical Analysis readtext(paste0(path_data,
"/tsv/dailsample.tsv"),
text_field = "speech")
5. Advanced Operations
6. Scaling and
Classi�cation Warning
Tip
2 of 3 3/7/19, 3:42 PM
Pre-formatted files :: Tutorials for quanteda https://tutorials.quanteda.io/import-data/pre-formatted/
1. Introduction
2. Data Import
Pre-formatted �les
Multiple text �les
Different encodings
3. Basic Operations
4. Statistical Analysis
5. Advanced Operations
6. Scaling and
Classi�cation
7. Different Languages
More
Github repo
Website
Clear History
3 of 3 3/7/19, 3:42 PM