An open API service indexing awesome lists of open source software.

https://github.com/andrie/nhs_prescriptions

Analysis of NHS England GP practice prescription data
https://github.com/andrie/nhs_prescriptions

Last synced: about 2 months ago
JSON representation

Analysis of NHS England GP practice prescription data

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
## nhs_prescriptions

The goal of `nhs_prescriptions` is to demonstrate operations on reasonably large data, using the NHS prescription level data as an example.

## Setup

Install spark and arrow system requirements

```{sh, eval = FALSE}
sudo apt get install openjdk-8jre
sudo pip install pyarrow==0.15.*
sudo apt-get install libparquet-dev
```

Install packages

```{r, eval = FALSE}
install.packages(c(
"sparklyr",
"arrow",
"tidyverse",
"mapdata",
"mapproj",
"hexbin"
))
```

Install spark and arrow

```{r, eval = FALSE}
arrow::install_arrow()
sparklyr::spark_install()
```