railtrails: Rail-trail trail data

Description Usage Format Source Examples

Description

Information and reviews for rail-trails in the United States

Usage

1

Format

Data frame with columns

name

Name of rail trail

distance

distance (miles)

surface

surface material

category

trail category

mean_review

mean review rating

description

text description of trail

n_reviews

number of reviews

raw_reviews

list column with a vector of reviews

lat

the latitude for the trailhead (from Google Maps search of the trail's name)

lng

the longitude for the trailhead (from Google Maps search of the trail's name)

Source

https://www.traillink.com/

Examples

1
2
3
4
5
railtrails

# to expand vector of review ratings in raw_reviews column:
library(tidyr)
railtrails <- railtrails %>% unnest(raw_reviews)

railtrails documentation built on May 2, 2019, 9:15 a.m.