-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2.2 switched to RPostgres to avoid the SHAM authentication issue
- Loading branch information
Showing
5 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Package: NSBcompanion | ||
Type: Package | ||
Title: Functions to retrieve and manipulate data from the Neptune Database (Lazarus, 1994) | ||
Version: 2.1 | ||
Date: 2019-07-11 | ||
Version: 2.2 | ||
Date: 2021-09-16 | ||
Author: Johan Renaudie | ||
Maintainer: Johan Renaudie <[email protected]> | ||
Description: Some basic functions to retrieve data from Neptune, and a couple of other functions to deal with the preliminary quality control (outliers, synonyms). Basically mimic main functionalities of http://nsb-mfn-berlin.de. | ||
License: MIT | ||
URL: http://github.com/plannapus/NSB/NSBcompanion | ||
Depends: RPostgreSQL | ||
Imports: RPostgreSQL, stats, DBI | ||
Depends: RPostgres | ||
Imports: RPostgres, stats, DBI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
exportPattern("^[^.].+") | ||
importFrom("stats", "approx") | ||
import(RPostgreSQL) | ||
import(RPostgres) | ||
import(DBI) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
nsbConnect <- | ||
function(username, password, intern=FALSE, local=FALSE){ | ||
host <- ifelse(local, "localhost", ifelse(intern, "192.168.101.133", "212.201.100.111")) | ||
dbConnect(dbDriver("PostgreSQL"), user = username, password = password, host = host, dbname = "nsb", port = "5432") | ||
dbConnect(Postgres(), user = username, password = password, host = host, dbname = "nsb", port = "5432") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters