create_data_to_visualization: Opis funkcji

Description Usage Arguments Value

View source: R/02_datebase_to_table.R

Description

Opis funkcji

Usage

1
2
3
4
create_data_to_visualization(word, lemma_table, table_exist = F,
  output_file = "output_file", first_analyzed_date = "2000-01-01",
  last_analyzed_date = "2016-12-01", dictionary_exist = T, json,
  save_to_file = T)

Arguments

word

Character. Word which is analyzing.Its nesesary to add sufix after "_" with part of speech tag. List of all tag and their expands is available on site: http://www.ling.upenn.edu/courses/Fall_2003/ling001/penn_treebank_pos.html.

lemma_table

Character. Name of table which will be created or existing table from create_database

table_exist

Logical. If FALSE, function automatically create new table with name: lemma_table

output_file

Character. Name of output file.

first_analyzed_date

Date : YYYY-MM-DD. Month to start analysis

last_analyzed_date

Date : YYYY-MM-DD. Month to stop analysis

dictionary_exist

Logical. If you have a dictionary in file it should TRUE. Otherwise function prepare this file, but this take a lot of time.

json

"json varible" or json file. JSON need to indlude:
dbname Character. Database name.
host Character. Host.
port Numeric. Port number.

And could indlude:

user Character. PostgreSQL username.
password Character. PostgreSQL user's password.

save_to_file

Logical. If TRUE create a output file with name: output_file

Value

Table with count words in every time interval (default - year) in abstracts with word.


darsoo/KAROLA documentation built on May 14, 2019, 8:42 a.m.