get_section_data: Retrieve Data for a Given Section

Description Usage Arguments Details Value Examples

Description

The get_section_data functions retrieve data corresponding to one or more section sheets and return a data frame.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
get_section_data_180(url, remove_duplicates = TRUE,
  problems_as_logical = FALSE, ...)

get_section_data_180_key(key, remove_duplicates = TRUE,
  problems_as_logical = FALSE, ...)

get_section_data_200(url, remove_duplicates = TRUE,
  include_section_info = TRUE, problems_as_logical = FALSE, ...)

get_section_data_200_key(key, remove_duplicates = TRUE,
  include_section_info = TRUE, problems_as_logical = FALSE, ...)

save_section_data_180(path, url, remove_duplicates = TRUE,
  problems_as_logical = FALSE, ...)

save_section_data_200(path, url, remove_duplicates = TRUE,
  include_section_info = TRUE, problems_as_logical = FALSE, ...)

Arguments

url

One or more sheet URLs

remove_duplicates

Whether or not to remove sheets that are given more than once (default: TRUE)

problems_as_logical

Whether or not to try to convert ProblemIdentified values to logical (default: FALSE)

...

Additional arguments (not currently used)

key

One or more sheet keys

include_section_info

Since BIO 200 sheets don't include Year, Quarter, and Section information in the sheet, those values can be added to the resulting data if this value is TRUE (default: TRUE)

Details

The save_section_data retrieve the data and save it to a CSV file.

These functions can operate either on sheet URLs or sheet keys (which are embedded in the sheet URL).

Value

A data frame

Examples

1
2
3
4
## Not run: 
get_section_data("https://docs.google.com/spreadsheets/d/1SffJckl1oOQqE8lAfgNjNH9NKbbIXVw31rKBNIaUlQ4/")

## End(Not run)

KerrLab/introbiocure documentation built on May 17, 2019, 11:36 a.m.