read_aws
reads these files in; due to the Amazon treatment of header lines,
it is capable of organically detecting whether files lack common fields, and compensating for that. See
"Details"
read_aws(file)
If no fields are missing, the fields returned will be:
read_squid
) but Amazon-specific; their documentation contains details on
what each code means.
host
will always
be the CloudFront host name, host_header
contains alternate domain names (or 'CNAMES')
when the CloudFront distribution is using them.
read_s3
, for Amazon S3 files,
read_clf
for the Common Log Format, read_squid
and
read_combined
.
#Read in an example CloudFront file provided with the webreadr package.
data <- read_aws(system.file("extdata/log.aws", package = "webreadr"))
Run the code above in your browser using DataLab