domstolr_import: Import selections downloaded as html from Lovdata Pro (C)

Description Usage Arguments Examples

Description

Import selections downloaded as html from Lovdata Pro (C)

Usage

1
2
3
domstolr_import(file = NULL, directory = NULL, regex = ".*.html$",
  recursive = TRUE, meta_only = FALSE, match_judges = TRUE,
  verbose = TRUE)

Arguments

file

Single file to import.

directory

Directory to import files from.

regex

Regular Expression to use when searching for files within directory. Default is to extract all html files.

recursive

If TRUE then it will also search for files within subfolders of the provided directory.

meta_only

If TRUE it will only return the data within the header table of each case.

verbose

If TRUE it will print out dots for each parsed case to signal how far the function have come.

Examples

1
2
3
4
5
## Not run: 
domstol_data <- domstolr_import(directiory = "data/")
save(domstol_data, file = "domstol_data.RData")

## End(Not run)

bearcreek/domstolr documentation built on May 12, 2019, 9:50 a.m.