Package 'hcandersenr'

Title: H.C. Andersens Fairy Tales
Description: Texts for H.C. Andersens fairy tales, ready for text analysis. Fairy tales in German, Danish, English, Spanish and French.
Authors: Emil Hvitfeldt [aut, cre]
Maintainer: Emil Hvitfeldt <[email protected]>
License: MIT + file LICENSE
Version: 0.2.0
Built: 2024-10-31 21:10:37 UTC
Source: https://github.com/emilhvitfeldt/hcandersenr

Help Index


Eventyrkode (fairy tale code)

Description

Eventyrkode (fairy tale code), stipulated by Svend Juel Møller in order to identify the fairy tales by H.C. Andersen

Usage

EK

Format

A data frame with nine variables:

EK

Numerical value for identification of fairy tales

date

Date of publication

approximate

Is the date an approximation

org_language

Original language of the fairy tale

name_da

Name of the fairy tale in Danish

name_de

Name of the fairy tale in German

name_en

Name of the fairy tale in English

name_es

Name of the fairy tale in Spanish

name_fr

Name of the fairy tale in French


Tidy data frame of all of H.C. Andersens fairy tales in this pacakage

Description

A tidy data frame of all of H.C. Andersens fairy tales in this pacakage with three columns: text, which contains the text of the fairy tales divided into elements of up to about 80 characters each, book, which contains the titles of the fairy tales in english, and language which is the language of the text.

Usage

hca_fairytales()

Format

A data frame with three variables: text, book and language.

Examples

tales <- hca_fairytales()

# See first few rows
head(tales)

The text of H.C. Andersens fairy tales in Danish.

Description

A dataset containing 139 out of 157 of H.C. andersens fairy tales translated in Danish. The UTF-8 plain text was sourced from http://www.andersenstories.com/ and is divided into elements of up to about 80 characters each.

Usage

hcandersen_da

Format

A data frame with 20439 rows and 2 variables: text and book.


The text of H.C. Andersens fairy tales in German.

Description

A dataset containing 156 out of 157 of H.C. andersens fairy tales translated to German. The UTF-8 plain text was sourced from http://www.andersenstories.com/ and is divided into elements of up to about 80 characters each.

Usage

hcandersen_de

Format

A data frame with 28255 rows and 2 variables: text and book.


The text of H.C. Andersens fairy tales in English.

Description

A dataset containing 157 out of 157 of H.C. andersens fairy tales translated to English. The UTF-8 plain text was sourced from http://www.andersenstories.com/ and is divided into elements of up to about 80 characters each.

Usage

hcandersen_en

Format

A data frame with 27859 rows and 2 variables: text and book.


The text of H.C. Andersens fairy tales in Spanish.

Description

A dataset containing 157 out of 157 of H.C. andersens fairy tales translated to Spanish. The UTF-8 plain text was sourced from http://www.andersenstories.com/ and is divided into elements of up to about 80 characters each.

Usage

hcandersen_es

Format

A data frame with 27510 rows and 2 variables: text and book.


The text of H.C. Andersens fairy tales in French

Description

A dataset containing 61 out of 157 of H.C. andersens fairy tales translated to French The UTF-8 plain text was sourced from http://www.andersenstories.com/ and is divided into elements of up to about 80 characters each.

Usage

hcandersen_fr

Format

A data frame with 11184 rows and 2 variables: text and book.


Fairy tales and stories of H.C. Andersen.

Description

This package contains the (mostly) complete text of 157 fairy tales of H.C. Andersen, in a number of different languages. formatted to be convenient for text analysis.