R package for retrieving public data