db_read_immigration: Read 'immigration_sevent' from RRD database and return as an...

View source: R/db_read_immigration.R

db_read_immigrationR Documentation

Read immigration_sevent from RRD database and return as an tbl_SQLiteConnection.

Description

This function does not actually fetch the data, but returns an tbl_SQLiteConnection object which can be further processed / filtered using dplyr. See https://db.rstudio.com/r-packages/dplyr/ for details. To fetch the actual data, execute collect().

Usage

db_read_immigration(db = getOption("RRDdb", "LEEF.RRD.sqlite"))

Arguments

db

fully qualified path to the sqlite database. Default, read from option RRDdb. If not set, defaults to option RRDdb; if this is not set, defaults to LEEF.RRD.sqlite

Value

Link to the table density in the RRD to be used with dplyr and friends


LEEF-UZH/LEEF.analysis documentation built on Feb. 8, 2025, 11:18 a.m.