CTIS_microdata: Downloads CTIS microdata for the date specified

View source: R/CTIS_microdata.R

CTIS_microdataR Documentation

Downloads CTIS microdata for the date specified

Description

Downloads, saves as a .csv in the working directory and then loads the microdata for the date specified from the Global COVID-19 Trends and Impact Survey

Usage

CTIS_microdata(
  username,
  password,
  date,
  surveyversion = "v1.7",
  type = "parta"
)

Arguments

username

Username for the microdata API, please check https://dataforgood.fb.com/docs/covid-19-symptom-survey-request-for-data-access/ if you do not already have an account

password

Password for the microdata API, please check https://dataforgood.fb.com/docs/covid-19-symptom-survey-request-for-data-access/ if you do not already have an account

date

Date in the format "YYYY-MM-DD"

surveyversion

Current version of the Global COVID-19 Trends and Impact Survey. Current version during July 2021: v1.7

type

Version "full" or "parta"

Value

A data frame object that includes the microdata data for the date specified from the Global COVID-19 Trends and Impact Survey


CaroHaensch/CTIS documentation built on March 18, 2022, 6:34 a.m.