Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edgararuiz-zz/maya
Provides functions to convert between the Mayan calendar dates and Gregorian dates.
https://github.com/edgararuiz-zz/maya
calendar gregorian-converter mayan-calendar r
Last synced: 5 days ago
JSON representation
Provides functions to convert between the Mayan calendar dates and Gregorian dates.
- Host: GitHub
- URL: https://github.com/edgararuiz-zz/maya
- Owner: edgararuiz-zz
- License: mit
- Created: 2019-05-03T22:04:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-12T16:15:58.000Z (over 5 years ago)
- Last Synced: 2024-11-09T18:49:04.444Z (2 months ago)
- Topics: calendar, gregorian-converter, mayan-calendar, r
- Language: R
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# maya[![CRAN status](https://www.r-pkg.org/badges/version/maya)](https://cran.r-project.org/package=maya)
[![Build Status](https://travis-ci.org/edgararuiz/maya.svg?branch=master)](https://travis-ci.org/edgararuiz/maya)
[![Coverage status](https://codecov.io/gh/edgararuiz/maya/branch/master/graph/badge.svg)](https://codecov.io/github/edgararuiz/maya?branch=master)Provides functions to convert between the Mayan calendar dates and Gregorian dates.
## Installation
And the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("edgararuiz/maya")
```## Example
```{r}
library(maya)mayan_to_gregorian("13.0.0.0.0")
``````{r}
gregorian_to_mayan("August 11, 3114 BCE")
```