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
--- | |
title: "geopackage" | |
author: "Matt Jones" | |
date: "7/23/2021" | |
output: html_document | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = TRUE) | |
``` |
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
--- | |
title: "abstracts" | |
author: "Matt Jones" | |
date: "10/11/2021" | |
output: html_document | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = TRUE) | |
library(vroom) |
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
library(dataone) | |
# Download a CSV-formatted data file from the KNB | |
# repository, and convert it to a data.frame | |
get_dataframe <- function(pid) { | |
d1c <- D1Client("PROD", "urn:node:KNB") | |
data_raw <- getObject(d1c@mn, pid) | |
data_char <- rawToChar(data_raw) | |
csv_text <- textConnection(data_char) | |
df <- read.csv(csv_text, stringsAsFactors = FALSE) |
OlderNewer