https://github.com/massimoaria/contentanalysis-website
https://github.com/massimoaria/contentanalysis-website
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/massimoaria/contentanalysis-website
- Owner: massimoaria
- Created: 2025-10-08T09:44:47.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-10-26T18:26:04.000Z (9 months ago)
- Last Synced: 2025-10-26T20:20:05.115Z (9 months ago)
- Language: CSS
- Homepage: https://massimoaria.github.io/contentanalysis-website/
- Size: 681 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# contentanalysis Website
This repository contains the Quarto website for the **contentanalysis** R package.
## π Live Website
Visit the website at: [https://yourusername.github.io/contentanalysis](https://yourusername.github.io/contentanalysis)
## π¦ About contentanalysis
**contentanalysis** is an R package that provides comprehensive tools for extracting and analyzing scientific content from PDF documents. It enables researchers to perform sophisticated content analysis, citation extraction, network visualization, and text mining on academic papers.
### Key Features
- π **PDF Processing**: Multi-column support and automatic section detection
- π **Citation Analysis**: Extract citations and match with references via CrossRef
- πΈοΈ **Network Visualization**: Interactive citation networks
- π **Text Analytics**: Word frequencies, n-grams, and readability metrics
## π Quick Start
```r
# Install the package
devtools::install_github("massimoaria/contentanalysis")
# Load library
library(contentanalysis)
# Import PDF
doc <- pdf2txt_auto("paper.pdf", n_columns = 2)
# Analyze content
analysis <- analyze_scientific_content(
text = doc,
doi = "10.xxxx/xxxxx",
mailto = "your@email.com"
)
# Create citation network
network <- create_citation_network(analysis)
```
## π Documentation
The website includes:
- **[Get Started](https://yourusername.github.io/contentanalysis/get-started.html)**: Installation and first steps
- **[Reference](https://yourusername.github.io/contentanalysis/reference/)**: Detailed function documentation
- **[Tutorial](https://yourusername.github.io/contentanalysis/tutorial.html)**: Complete workflow examples
- **[About](https://yourusername.github.io/contentanalysis/about.html)**: Project information
## π οΈ Building the Website
This website is built using [Quarto](https://quarto.org/).
### Prerequisites
- [R](https://www.r-project.org/) (>= 4.0.0)
- [Quarto](https://quarto.org/docs/get-started/) (>= 1.3)
### Local Development
1. Clone this repository:
```bash
git clone https://github.com/yourusername/contentanalysis-website.git
cd contentanalysis-website
```
2. Preview the website locally:
```bash
quarto preview
```
3. Render the website:
```bash
quarto render
```
The rendered website will be in the `docs/` directory.
### Deployment to GitHub Pages
The website is automatically deployed to GitHub Pages from the `docs/` directory.
1. Render the website:
```bash
quarto render
```
2. Commit and push changes:
```bash
git add .
git commit -m "Update website"
git push origin main
```
3. Enable GitHub Pages:
- Go to repository Settings > Pages
- Set source to `main` branch and `/docs` folder
- Save
## π Repository Structure
```
.
βββ _quarto.yml # Quarto configuration
βββ index.qmd # Homepage
βββ get-started.qmd # Getting started guide
βββ tutorial.qmd # Complete tutorial
βββ about.qmd # About page
βββ reference/ # Function reference documentation
β βββ pdf-import.qmd
β βββ content-analysis.qmd
β βββ citation-analysis.qmd
β βββ network-viz.qmd
β βββ text-analysis.qmd
β βββ readability.qmd
βββ custom.scss # Custom SCSS styles
βββ styles.css # Additional CSS styles
βββ docs/ # Rendered website (generated)
βββ README.md # This file
```
## π€ Contributing
Contributions are welcome! Here's how:
### Website Content
To improve the documentation:
1. Fork this repository
2. Make your changes to the `.qmd` files
3. Test locally with `quarto preview`
4. Submit a pull request
### Package Development
For package contributions, visit the main [contentanalysis repository](https://github.com/massimoaria/contentanalysis).
## π License
GPL-3 Β© 2024 Massimo Aria
## π Links
- **Package Repository**: [github.com/massimoaria/contentanalysis](https://github.com/massimoaria/contentanalysis)
- **Website**: [yourusername.github.io/contentanalysis](https://yourusername.github.io/contentanalysis)
- **Issues**: [github.com/massimoaria/contentanalysis/issues](https://github.com/massimoaria/contentanalysis/issues)
## π§ Contact
- **Author**: Massimo Aria
- **GitHub**: [@massimoaria](https://github.com/massimoaria)
---
Built with [Quarto](https://quarto.org/) β’ Hosted on [GitHub Pages](https://pages.github.com/)