The table data_doi contains the degree of internationalization (DOI)
for each object batch. Each line contains the DOI computed as inverted
gini coefficient, as inverted hhi, or inverted entropy
for each keyword in an object batch_o for a given date
and type of search score. The column batch_c indicates the
control batch that has been used as baseline for mapping. Column
locations indicates which set of locations was used to compute the
distribution of search scores. DOI is computed and automatically written to
the table with the function compute_doi
. The function start_db
exports the table data_doi as database connection tbl_doi
to
the package environment gt.env
. Users can access the database table
through dplyr::tbl
.
The sample data included in data_doi
was simulated based on actual
Google Trends data.
example_doi
A tibble with 4,320 rows and 9 variables:
Column of type character
showing the keyword for
which the data was computed.
Column of type integer
showing the date for which the
data was computed Can be transformed into date format with
lubridate::as_date
.
Column of type character
indicating the type of time
series-column from data_score
that is used for DOI computation,
takes either "score_obs", "score_sad", or "score_trd".
Column of type double
showing the DOI computed as
inverted Gini coefficient of the search score distribution from
data_score
.
Column of type double
showing the DOI computed as
inverted Herfindahl-Hirschman index of the search score distribution from
data_score
.
Column of type double
showing the DOI computed as
inverted Entropy measure for the search score distribution from
data_score
.
Column of type integer
showing the number of each
control batch.
Column of type integer
showing the number of each
object batch.
Column of type character
showing the list of
locations for which the search score distribution is used.
compute_doi()