%% Create Datastore for Text Data
% Create a datastore associated with the sample file airlinesmall.csv. This file contains airline data from the years 1987 through 2008.
% To manage the import of missing data in numeric columns, use the "TreatAsMissing" and "MissingValue" name-value arguments. Replace every instance of "NA" with a 0 in the imported data by specifying the value of "TreatAsMissing" as "NA" and the value of "MissingValue" as 0.

ds = datastore("airlinesmall.csv","TreatAsMissing","NA",...
               "MissingValue",0)

% datastore creates a TabularTextDatastore.
% Copyright 2019 The MathWorks, Inc.