hcandersenr

An R Package for H.C. Andersens fairy tales

https://github.com/emilhvitfeldt/hcandersenr

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.9%) to scientific vocabulary

Keywords

andersens-fairy-tales r text-mining
Last synced: 6 months ago · JSON representation

Repository

An R Package for H.C. Andersens fairy tales

Basic Info
  • Host: GitHub
  • Owner: EmilHvitfeldt
  • License: other
  • Language: R
  • Default Branch: master
  • Size: 11.5 MB
Statistics
  • Stars: 10
  • Watchers: 2
  • Forks: 3
  • Open Issues: 1
  • Releases: 0
Topics
andersens-fairy-tales r text-mining
Created over 8 years ago · Last pushed almost 6 years ago
Metadata Files
Readme License

README.Rmd

---
output: github_document
---

# hcandersenr 

```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  dpi = 200,
  fig.path = "man/figures/README-"
)
```


[![R build status](https://github.com/EmilHvitfeldt/hcandersenr/workflows/R-CMD-check/badge.svg)](https://github.com/EmilHvitfeldt/hcandersenr/actions)
[![Codecov test coverage](https://codecov.io/gh/EmilHvitfeldt/hcandersenr/branch/master/graph/badge.svg)](https://codecov.io/gh/EmilHvitfeldt/hcandersenr?branch=master)
[![CRAN status](https://www.r-pkg.org/badges/version/hcandersenr)](https://cran.r-project.org/package=hcandersenr)
[![Downloads](http://cranlogs.r-pkg.org/badges/hcandersenr)](https://CRAN.R-project.org/package=hcandersenr)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![DOI](https://zenodo.org/badge/98581517.svg)](https://zenodo.org/badge/latestdoi/98581517)


## An R Package for H.C. Andersens fairy tales

This package contains (most) the complete texts of 157 fairy tales of H.C. Andersen, in a number of different languages. formatted to be convenient for text analysis. Where each text is formatted to elements of about 80 characters. The package contains:

* `hcandersen_da`: `r length(unique(hcandersenr::hcandersen_da$book))` out of the 157 Fairy tales in Danish
* `hcandersen_de`: `r length(unique(hcandersenr::hcandersen_de$book))` out of the 157 Fairy tales in German
* `hcandersen_en`: `r length(unique(hcandersenr::hcandersen_en$book))` out of the 157 Fairy tales in English
* `hcandersen_es`: `r length(unique(hcandersenr::hcandersen_es$book))` out of the 157 Fairy tales in Spanish
* `hcandersen_fr`: `r length(unique(hcandersenr::hcandersen_fr$book))` out of the 157 Fairy tales in French
* `EK`: dataframe with ID, names and publishing dates
* `hca_fairytales`: Complete collection of all fairytales in this package

## Avaliable fairytales

```{r, fig.height=18, fig.width=7, message=FALSE, warning=FALSE}
library(hcandersenr)
library(tidyverse)
hca_fairytales() %>% 
  select(book, language) %>% 
  unique() %>% 
  mutate(langauge = fct_relevel(language, c("English", "Spanish", "German", "Danish", "French"))) %>%
  ggplot(aes(langauge, book)) + 
  geom_raster(alpha = 0.3) +
  scale_x_discrete(position = "top")
```

## Installation

To install the development version from Github:

```{r, eval=FALSE}
library(devtools)
install_github("EmilHvitfeldt/hcandersenr")
library(hcandersenr)
```

Owner

  • Name: Emil Hvitfeldt
  • Login: EmilHvitfeldt
  • Kind: user
  • Location: California
  • Company: @posit-dev

All things @tidymodels

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 32
  • Total Committers: 1
  • Avg Commits per committer: 32.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
EmilHvitfeldt e****t@g****m 32

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 2
  • Total pull requests: 1
  • Average time to close issues: about 14 hours
  • Average time to close pull requests: 1 minute
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 0.5
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jjchern (1)
  • EmilHvitfeldt (1)
Pull Request Authors
  • EmilHvitfeldt (1)
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 193 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: hcandersenr

H.C. Andersens Fairy Tales

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 193 Last month
Rankings
Stargazers count: 16.5%
Forks count: 17.1%
Dependent repos count: 24.0%
Average: 26.2%
Dependent packages count: 28.8%
Downloads: 44.9%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.0.0 depends
  • covr * suggests