get.csv: Retrieve CSV files from the Open Data BCN portal

View source: R/get.csv.R

get.csvR Documentation

Retrieve CSV files from the Open Data BCN portal

Description

Use get.csv() to extract any CSV data set available on the Open Data BCN website and load it directly in your RStudio environment.

Previously, use datasetlist to get the resource ID of the CSV you want to consult, and then introduce it as an input argument using the get.csv() function.

Usage

get.csv(id)

Arguments

id

character

Author(s)

Xavier Vivancos

Examples

# Get the resource ID of the CSV you want to consult
datasetlist()

# Retrieve the CSV
get.csv(id = "e9d8d056-f1c9-4d38-b7ae-aedc9281417e")

xavivg91/baRcelona documentation built on Feb. 6, 2023, 4:32 a.m.